OLE DB Consumer Attributes
Visual Studio 2015
The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.
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. |
Show: