CAccessorRowset Class

Encapsulates a rowset and its associated accessors in a single class.

template < 
   class TAccessor = CNoAccessor,  
   template <typename T> class TRowset = CRowset  
>
class CAccessorRowset : 
   public TAccessor,  
   public TRowset<TAccessor>

Parameters

  • TAccessor
    An accessor class.

  • TRowset
    A rowset class.

Members

Methods

Bind

Creates bindings (used when bBind is specified as false in CCommand::Open).

CAccessorRowset

Constructor.

Close

Closes the rowset and any accessors.

FreeRecordMemory

Frees any columns in the current record that need to be freed.

GetColumnInfo

Implements IColumnsInfo::GetColumnInfo.

Remarks

Class TAccessor manages the accessor. Class TRowset manages the rowset.

Requirements

Header: atldbcli.h

See Also

Concepts

OLE DB Consumer Templates (C++)

OLE DB Consumer Templates Reference