IDBSchemaRowsetImpl
template <class SessionClass**>
class IDBSchemaRowsetImpl: public IDBSchemaRowset**
SessionClass
The class IDBSchemaRowsetImpl is inherited by. Typically this class will be the user’s session class.
Implementation of the interface and the templatized creator function CreateSchemaRowset.
IDBSchemaRowsetImpl provides implementation for schema rowsets. OLE DB uses schema rowsets to return data about the data in a provider. (Such data is often called "meta-data.") By default, a provider must always support DBSCHEMA_TABLES, DBSCHEMA_COLUMNS, and DBSCHEMA_PROVIDER_TYPES, as described in in the OLE DB Programmer's Reference. Schema rowsets are designated in a schema map. For more information about the schema map entries, see SCHEMA_ENTRY. For more information about schema rowsets, see in the OLE DB Programmer's Reference.
The OLE DB Provider Wizard, in the ATL Object Wizard, automatically generates code for the schema rowsets in your project. By default, it supports the DBSCHEMA_TABLES, DBSCHEMA_COLUMNS, and DBSCHEMA_PROVIDER_TYPES schema rowsets.
When you create a consumer using the ATL Object Wizard, the wizard uses schema rowsets bind the correct data to a provider. If you do not implement your schema rowsets to provide the correct meta-data, the wizard will not bind the correct data.
#include <atldb.h>
IDBSchemaRowsetImpl Class Members
See Also