Once you have created an OLE DB provider using the ATL COM AppWizard and ATL Object Wizard, you can add commands, transactions, and other optional objects you want to support.
The extended example in this article shows how to edit the wizard-created files to create a simple provider. The example is presented in two parts:
IRowsetLocate
interface.You can find the finished code for the enhanced simple provider in the sample MyProv: A Simple Read-Only Provider.