Enhancing the Simple Read-Only Provider
This section shows how to enhance the simple read-only provider created in the previous section. IRowsetLocateImpl
creates an implementation for the IRowsetLocate
interface and adds bookmark support for you.
When you have a working provider, you might want to enhance it to make the provider update, handle transactions, or 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: