Session object interfaces
IGetDataSource
Mandatory interface on the session for obtaining an interface pointer to the data source object
Required: Yes
Implemented: Templates
IOpenRowset
Opens and returns a rowset that includes all rows from a single base table or index.
Required: Yes
Implemented: Templates
ISessionProperties
Retrieves the properties for a session.
Required: Yes
Implemented: Templates
IDBCreateCommand
Creates a new command.
Required: No
Implemented: Templates
IDBSchemaRowset
(Optional interface on sessions.) Provides advanced schema information.
Required: No
Implemented: Templates: Table, Column and Provider Types only
IIndexDefinition
Exposes simple methods to create and drop indexes from the data store.
Required: No
Implemented: No
ITableDefinition
Exposes simple methods to create, change, and drop tables on the data store.
Required: No
Implemented: Custom
ITransactionJoin
Exposed only by providers that support distributed transactions.
Required: No
Implemented: No
ITransactionLocal
Start, commit, and abort transactions on the session.
Required: No
Implemented: Custom
ITransactionObject
Get the transaction object associated with a particular transaction level.
Required: No
Implemented: No
Notes on custom interfaces
ITableDefinition
The table definition interface is used so that the ADOX can be used for dynamic table and column creation. This is useful for response variable creation/deletion and summary table creation.
ITransactionLocal
Support for simple transactions. This functionality can optionally be implemented in the CDSC.
See also