Enhancing the Simple Read-Only Provider

This section shows how to add the IRowsetLocate interface to enhance the simple read-only provider created in the previous section.

Once you have a working provider, you might want to enhance it to make the provider update, to handle transactions, or to enhance the performance of the row-fetching algorithm. Most provider enhancements involve adding an interface to an existing COM object.

The example in the following topics enhances the row-fetching mechanism by adding the IRowsetLocate interface to CAgentRowset. The topics show you how to:

(You can find the final code for MyProvider in the sample MyProv: A Simple Read-Only Provider.)

Back to Implementing an OLE DB Template Provider