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
Used to retrieve the properties for a session.
Required: Yes
Implemented: Templates
IDBCreateCommand
Creates a new command.
Required: No
Implemented: Templates
IDBSchemaRowset
This is an optional interface on sessions. It is used to provide 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, drop, and alter tables on the data store.
Required: No
Implemented: Custom
ITransactionJoin
Exposed only by providers that support distributed transactions.
Required: No
Implemented: No
ITransactionLocal
Is used to start, commit, and abort transactions on the session.
Required: No
Implemented: Custom
ITransactionObject
Enables consumers to obtain 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 has been added for simple transactions. This functionality can optionally be implemented in the CDSC.
See also