Session Objects

xiaoxiao2021-03-06  62

Meeting (session) object

A meeting object provides a method to create a command (strand) and Rowset, and create a method of modifying tables (Tables) and Indexes.

CoType TSession {[mandatory] interface IGetDataSource; [mandatory] interface IOpenRowset; [mandatory] interface ISessionProperties; [optional] interface IAlterIndex; [optional] interface IAlterTable; [optional] interface IBindResource; [optional] interface IConnectionPointContainer; [optional] interface ICreateRow ; [optional] interface IDBCreateCommand; [optional] interface IDBSchemaRowset; [optional] interface IIndexDefinition; [optional] interface ISupportErrorInfo; [optional] interface ITableCreation; [optional] interface ITableDefinition; [optional] interface ITableDefinitionWithConstraints; [optional] interface ITransaction; [ Optional] interface itransactionjoin; [optional] interface itransactionlocal; [optional] interface itransactionObject;}

Consumers call IDBCREATESSITION :: CreateSession in the data source object to create a meeting (Session). A data source object supports multiple meetings, so multiple transactions are also supported. For meetings, consumers can:

Create a command object by calling idbreateCommand :: CREATECOMMAND. A meeting can support multiple command objects. Some providers do not support command objects. Create a rowset object by calling IOPENROWSET :: OpenRowSet. It is equivalent to creating a set of rows that override a single table. The set is supported by all providers.

转载请注明原文地址:https://www.9cbs.com/read-112155.html

New Post(0)