The latest version of this topic can be found at OLE DB Consumer Attributes.
The OLE DB consumer attributes inject code, based on the OLE DB Consumer Templates, to create a working OLE DB consumer that performs tasks such as opening tables, executing commands, and accessing data.
| Attribute | Description |
|---|---|
| db_accessor | Binds columns in a rowset and binds them to the corresponding accessor maps. |
| db_column | Binds a specified column to the rowset. |
| db_command | Executes an OLE DB command. |
| db_param | Associates the specified member variable with an input or output parameter. |
| db_source | Creates and encapsulates a connection, through a provider, to a data source. |
| db_table | Opens an OLE DB table. |