Wrapped Interfaces
Home Up Wrapped Interfaces Benefits Classes Reference Wrapped Interfaces Examples Comparison

 

Wrapped OLEDB Interfaces in OleDBPro

        OleDBPro encapsulates all of defined OLEDB objects except TEnumerator. OleDBPro does wrap most of defined OLEDB interfaces but not all. The interfaces, which are either often used or complicate to be used with applications development, are wrapped in the OleDBPro module.  In other words, the excluded interfaces are simple to use and not often employed with various software development. If you need them, you can easily extend a class or template with your needed interfaces.

        The following lists the interfaces wrapped in OleDBPro and grouped by OLEDB objects. 

  1. TDataSource (CODataSource)
    [mandatory]    interface IDBCreateSession; 
    [mandatory]    interface IDBInitialize; 
    [mandatory]    interface IDBProperties; 
    [optional]        interface IConnectionPointContainer;
    [optional]        interface IDBAsynchStatus;
    [optional]        interface IDBDataSourceAdmin;  
    [optional]        interface ISupportErrorInfo;
  2. TSession (COSession & COSessionEx)
    [mandatory]   interface IGetDataSource; 
    [mandatory]   interface IOpenRowset; 
    [optional]       interface IBindResource; 
    [optional]       interface IConnectionPointContainer;
    [optional]       interface ICreateRow;
    [optional]       interface IDBAsynchStatus; 
    [optional]       interface IDBCreateCommand; 
    [optional]       interface IDBSchemaRowset; 
    [optional]       interface IIndexDefinition; 
    [optional]       interface ISupportErrorInfo; 
    [optional]       interface ITableCreation; 
    [optional]       interface ITableDefinition; 
    [optional]       interface ITableDefinitionWithConstraints; 
    [optional]       interface ITransactionLocal; 
    [optional]       interface ITransaction; 
    [optional]       interface ITransactionObject;

  3. TCommand (CCmndBase & CParamBase)
    [mandatory]   interface IAccessor; 
    [mandatory]   interface ICommand; 
    [mandatory]   interface ICommandProperties; 
    [mandatory]   interface ICommandText; 
    [mandatory]   interface IConvertType; 
    [optional]       interface ICommandPrepare; 
    [optional]    
       interface ICommandWithParameters; 
    [optional]       nterface ISupportErrorInfo;

  4. TRowset/TIndex (CRBase & CRBaseEx)
    [mandatory]   interface IAccessor; 
    [mandatory]   interface IColumnsInfo; 
    [mandatory]   interface IConvertType; 
    [mandatory]   interface IRowset; 
    [mandatory]   interface IRowsetInfo; 
    [optional]    
       interface IChapteredRowset; 
    [optional]       interface IConnectionPointContainer;
    [optional]       interface IDBAsynchStatus;

    [optional]       interface IParentRowset;
    [optional]       interface IGetRow; 
    [optional]       interface IRowsetChange;
    [optional]       interface IRowsetFind;  
    [optional]       interface IRowsetIndex; 
    [optional]       interface IRowsetLocate;  
    [optional]       interface IRowsetScroll; 
    [optional]       interface IRowsetUpdate; 
    [optional]       interface IRowsetView; 
    [optional]       interface ISupportErrorInfo;

  5. TMultipleResults (CMultiBulkRecord<T>)
    [mandatory]   interface IMultipleResults;
    [optional]       interface ISupportErrorInfo;

  6. TView (COView)
    [optional]       interface IAccessor;
    [optional]    
       interface ISupportErrorInfo;
    [optional]       interface IViewChapter;
    [optional]       interface IViewFilter;
    [optional]       interface IViewRowset;
    [optional]       interface IViewSort;

  7. TErrorObject (GETERRORINFO)
    [mandatory]   interface IErrorRecords;

  8. TErrorRecord (GETERRORINFO)
    [mandatory]   interface IErrorInfo;

  9. TCustomErrorObject (GETERRORINFO)
    [optional]       interface ISQLErrorInfo;

  10. TBinder (COBinder)
    [mandatory]    interface IBindResource;
    [mandatory]    interface ICreateRow;
    [mandatory]    interface IDBBinderProperties;
    [optional]        interface ISupportErrorInfo;

  11. TRow (CORow)
    [mandatory]   interface IColumnsInfo;  
    [mandatory]   interface IGetSession; 
    [mandatory]   interface IRow;  
    [optional]       interface IConnectionPointContainer;
    [optional]       interface ICreateRow; 

    [optional]       interface IDBAsynchStatus;

    [optional]       interface IRowChange; 
    [optional]       interface IRowSchemaChange; 
    [optional]       interface IScopedOperations; 
    [optional]       interface ISupportErrorInfo;

  12. TStream (COStream)
    [mandatory]   interface ISequentialStream; 
    [optional]       interface IConnectionPointContainer;
    [optional]       interface IDBAsynchStatus;

    [optional]       interface IGetSourceRow;
    [optional]       interface ISupportErrorInfo;
    [optional]       interface IStream; 

  13. TDataset (CODataset
    [mandatory]   interface IMDDataset;
    [mandatory]   interface IAccessor;
    [mandatory]   interface IConvertType;
    [mandatory]   interface IColumnsInfo; 
    [optional]       interface IMDRangeRowset;
    [optional]       interface ISupportErrorInfo;