OLE DB CoTypes
Enumerators
CoType TEnumerator {
[mandatory] interface IParseDisplayName;
[mandatory] interface ISourcesRowset;
[optional] interface IDBInitialize;
[optional] interface IDBProperties;
[optional] interface ISupportErrorInfo;
}
Data source objects
CoType TDataSource {
[mandatory] interface IDBCreateSession;
[mandatory] interface IDBInitialize;
[mandatory] interface IDBProperties;
[mandatory] interface IPersist;
[optional] interface IConnectionPointContainer;
[optional] interface IDBAsynchNotify;
[optional] interface IDBAsynchStatus;
[optional] interface IDBDataSourceAdmin;
[optional] interface IDBInfo;
[optional] interface IObjectAccessControl;
[optional] interface IPersistFile;
[optional] interface ISecurityInfo;
[optional] interface ISupportErrorInfo;
[optional] interface ITrusteeAdmin;
[optional] interface ITrusteeGroupAdmin;
}
Sessions
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;
}
Commands
CoType TCommand {
[mandatory] interface IAccessor;
[mandatory] interface IColumnsInfo;
[mandatory] interface ICommand;
[mandatory] interface ICommandProperties;
[mandatory] interface ICommandText;
[mandatory] interface IConvertType;
[optional] interface IColumnsRowset;
[optional] interface ICommandPersist;
[optional] interface ICommandPrepare;
[optional] interface ICommandWithParameters;
[optional] interface ISupportErrorInfo;
[optional] interface ICommandStream;
}
Multiple results objects
CoType TMultipleResults {
[mandatory] interface IMultipleResults;
[optional] interface ISupportErrorInfo;
[optional] interface IDBAsyncStatus;
}
Rowsets
CoType TRowset {
[mandatory] interface IAccessor;
[mandatory] interface IColumnsInfo;
[mandatory] interface IConvertType;
[mandatory] interface IParentRowset;
[mandatory] interface IRowset;
[mandatory] interface IRowsetInfo;
[optional] interface IChapteredRowset;
[optional] interface IColumnsInfo2;
[optional] interface IColumnsRowset;
[optional] interface IConnectionPointContainer;
[optional] interface IDBAsynchStatus;
[optional] interface IGetRow;
[optional] interface IRowsetChange;
[optional] interface IRowsetChapterMember;
[optional] interface IRowsetCurrentIndex;
[optional] interface IRowsetFind;
[optional] interface IRowsetIdentity;
[optional] interface IRowsetIndex;
[optional] interface IRowsetNotify;
[optional] interface IRowsetLocate;
[optional] interface IRowsetRefresh;
[optional] interface IRowsetResynch;
[optional] interface IRowsetScroll;
[optional] interface IRowsetUpdate;
[optional] interface IRowsetView;
[optional] interface ISupportErrorInfo;
[optional] interface IRowsetBookmark;
}
Views
CoType TView {
[mandatory] interface IColumnsInfo;
[optional] interface IAccessor;
[optional] interface ISupportErrorInfo;
[optional] interface IViewChapter;
[optional] interface IViewFilter;
[optional] interface IViewRowset;
[optional] interface IViewSort;
}
Indexes
CoType TIndex {
[mandatory] interface IAccessor;
[mandatory] interface IColumnsInfo;
[mandatory] interface IConvertType;
[mandatory] interface IRowset;
[mandatory] interface IRowsetIndex;
[mandatory] interface IRowsetInfo;
[optional] interface IRowsetChange;
[optional] interface IRowsetCurrentIndex;
[optional] interface IRowsetFind;
[optional] interface IRowsetIdentity;
[optional] interface IRowsetLocate;
[optional] interface IRowsetNotify;
[optional] interface IRowsetRefresh;
[optional] interface IRowsetResynch;
[optional] interface IRowsetScroll;
[optional] interface IRowsetUpdate;
[optional] interface IRowsetView;
[optional] interface ISupportErrorInfo;
}
Transactions
CoType TTransaction {
[mandatory] interface IConnectionPointContainer;
[mandatory] interface ITransaction;
[optional] interface ISupportErrorInfo;
}
Transaction options
CoType TTransactionOptions {
[mandatory] interface ITransactionOptions;
[optional] interface ISupportErrorInfo;
}
Errors
CoType TErrorObject {
[mandatory] interface IErrorRecords;
}
Custom errors
CoType TCustomErrorObject {
[optional] interface ISQLErrorInfo;
}
Error records
CoType TErrorRecord {
[mandatory] interface IErrorInfo;
}
Binder objects
CoType TBinder {
[mandatory] interface IBindResource;
[mandatory] interface ICreateRow;
[mandatory] interface IDBBinderProperties;
[optional] interface IRegisterProvider; // Root binder only
[optional] interface ISupportErrorInfo;
}
Row objects
CoType TRow {
[mandatory] interface IColumnsInfo;
[mandatory] interface IConvertType;
[mandatory] interface IGetSession;
[mandatory] interface IRow;
[optional] interface IColumnsInfo2;
[optional] interface IConnectionPointContainer;
[optional] interface ICreateRow;
[optional] interface IDBAsynchStatus;
[optional] interface IDBCreateCommand;
[optional] interface IDBInitialize;
[optional] interface IRowChange;
[optional] interface IRowSchemaChange;
[optional] interface IScopedOperations;
[optional] interface ISupportErrorInfo;
}
Stream objects
CoType TStream {
[mandatory] interface ISequentialStream;
[optional] interface IConnectionPointContainer;
[optional] interface IDBAsynchStatus;
[optional] interface IDBInitialize;
[optional] interface IGetSourceRow;
[optional] interface ISupportErrorInfo;
[optional] interface IStream;
}