Using the OLE DB Provider Templates

The OLE DB Provider Templates support the OLE DB version 1.1 specification. Using the OLE DB Provider Templates, you can implement a level-0 compliant provider. The provider sample, for example, uses the templates to implement a non-SQL (DOS) command server that executes the DOS DIR command to query the file system. The provider sample returns the directory information in a rowset, which is the standard OLE DB mechanism for returning tabular data.

The simplest type of provider supported by the OLE DB Templates is a read-only provider with no commands. Providers with commands are also supported, but read/write providers are not supported automatically by the current version of the OLE DB Templates. (You can implement a read/write provider by writing additional code.) Dynamic rowsets and transactions are not supported by the current version either, but you can add them if you desire.

To use the OLE DB Templates, you should be familiar with C++ templates, COM, and the OLE DB interfaces. If you are not familiar with OLE DB, refer to the OLE DB Programmer's Reference before proceeding.

What would you like to know more about?

The OLE DB Provider Template Architecture

Creating an OLE DB Template Provider

Overview of OLE DB Templates

See Also

FAQ: Using the OLE DB Provider Templates