| description | Learn more about: CColumnAccessor Class | |||
|---|---|---|---|---|
| title | CColumnAccessor Class | |||
| ms.date | 11/04/2016 | |||
| f1_keywords |
|
|||
| helpviewer_keywords |
|
|||
| ms.assetid | 6ce1e67f-6a20-490d-9326-c168b43eee7e |
Generates injected consumer code.
class CColumnAccessor : public CAccessorBaseIn 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. -
BindColumnsBinds columns to accessors. -
SetParameterBufferAllocates buffers for parameters. -
AddParameterAdds a parameter entry to the parameter entry structures. -
HasOutputColumnsDetermines whether the accessor has output columns -
HasParametersDetermines whether the accessor has parameters. -
BindParametersBinds the created parameters to columns.
Header: atldbcli.h
OLE DB Consumer Templates
OLE DB Consumer Templates Reference