次の方法で共有


CAccessorRowset Class

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at CAccessorRowset Class.

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

Syntax

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

OLE DB Consumer Templates
OLE DB Consumer Templates Reference