MDAC 2.5 SDK - OLE DB Providers
OLE DB Persistence Provider


 

Supported Interfaces of the Persistence Provider

                   

The OLE DB Persistence Provider supports the following OLE DB interfaces.

Interface Support notations
IAccessor Object type: Rowset

Provides methods for accessor management. For information about accessors, see "Accessors" in Chapter 6 of the OLE DB Progammer's Reference.

IChapteredRowset Object type: Rowset

Allows consumers to manage chapters.

IColumnsInfo Object type: Rowset

Exposes information about columns of a rowset or prepared command and provides a limited set of information in an array.

IColumnsRowset Object type: Rowset

Supplies complete information about columns in a rowset. Its methods can be called from a rowset or a command.

Support is dependent on available stream schema information.

IConvertType Object type: Rowset

Mandatory on commands, rowsets, and index rowsets, giving information about the availability of type conversions on a command or rowset.

IDBCreateSession Object type: Data source

Creates a new session.

IDBInitialize Object type: Data source

Initializes or uninitializes a data source object or an enumerator.

IDBProperties Object type: Data source

Sets and gets values of properties on the data source object or enumerator and gets information about all properties supported by the provider.

IGetDataSource Object type: Session

Mandatory; obtains an interface pointer to the data source object.

IOpenRowset Object type: Session

Opens and returns a rowset that includes all rows from a single base table or index.

IPersist Object type: Data source

See IPersist* Objects for an overall discussion.

See Getting and Setting IPersist* Objects for specific implementation notes.

For additional considerations, see Lifetime of IPersist* Objects and IPersist* Objects, Rowset Update Semantics, and ITransaction.

(All sources are in the OLE DB Programmer's Reference.)

IRowsetInfo Object type: Rowset

Provides information about a rowset and methods for retrieving objects associated with the rowset.

IRowset Object type: Rowset

Base rowset interface, providing methods for fetching rows sequentially, getting the data from those rows, and managing rows.

IRowsetUpdate Object type: Rowset

GetOriginalData and GetRowStatus are supported. All others return E_NOTIMPL.

IRowsetUpdate::GetOriginalData gets the data most recently fetched from or transmitted to the data store; does not get values based on pending changes.

IRowsetUpdate::GetRowStatus returns the status of rows.

ISessionProperties Object type: Session

Mandatory for sessions. Returns information about the properties a session supports and the current settings of those properties.

ISupportErrorInfo Object type: Session and data source

Defined by Automation and indicates whether a specific interface can return Automation error objects.