The following table lists the OLE DB interfaces that an OLE DB Provider is required to support in order to be used with the .NET Framework Data Provider for OLE DB. Optional interfaces are also included.
| OLE DB object | Interfaces (* indicates an optional interface) |
| OLE DB Services | IDataInitialize |
| DataSource | IDBInitialize
IDBCreateSession
IDBProperties
IPersist
IDBInfo* |
| Session | ISessionProperties
IOpenRowset
IDBSchemaRowset*
ITransactionLocal*
IDBCreateCommand* |
| Command | ICommandText
ICommandProperties
ICommandWithParameters*
IAccessor (only required if ICommandWithParameters is supported)
ICommandPrepare* |
| MultipleResults | IMultipleResults |
| RowSet | IRowset
IAccessor
IColumnsInfo
IColumnsRowset*
IRowsetInfo (only required if DBTYPE_HCHAPTER is supported) |
| Row | IRow* |
| Error | IErrorInfo
IErrorRecords
ISQLErrorInfo* |
See Also
.NET Framework Data Providers | Overview of ADO.NET