CColumnAccessor Class
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
The latest version of this topic can be found at CColumnAccessor Class.
Generates injected consumer code.
class CColumnAccessor : public CAccessorBase
In the injected code, every column is bound as a separate accessor. You should be aware that this class is used in the injected code (for example, you might encounter it when debugging), but you typically never have to use it or its methods directly.
CColumnAccessor implements the following stub methods, each of which correspond in functionality to other accessor class methods:
CColumnAccessorThe constructor; instantiates and initializes theCColumnAccessorobject.CreateAccessorAllocates memory for the column binding structures and initializes the column data members.BindColumns Binds columns to accessors.
SetParameterBuffer Allocates buffers for parameters.
AddParameterAdds a parameter entry to the parameter entry structures.HasOutputColumns Determines whether the accessor has output columns
HasParameters Determines whether the accessor has parameters.
BindParametersBinds the created parameters to columns.
Header: atldbcli.h
OLE DB Consumer Templates
OLE DB Consumer Templates Reference