Share via


BEGIN_COLUMN_MAP

 

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 BEGIN_COLUMN_MAP.

Marks the beginning of a column map entry.

Syntax

  
BEGIN_COLUMN_MAP(  
x  
 )  
  

Parameters

x
[in] The name of the user record class derived from CAccessor.

Remarks

This macro is used in the case of a single accessor on a rowset. If you have multiple accessors on a rowset, use BEGIN_ACCESSOR_MAP.

The BEGIN_COLUMN_MAP macro is completed with the END_COLUMN_MAP macro. This macro is used when there is only one accessor required in the user record.

Columns correspond to fields in the rowset you want to bind.

Example

Here is a sample column and parameter map:

Requirements

Header: atldbcli.h

See Also

Macros and Global Functions for OLE DB Consumer Templates
END_COLUMN_MAP
COLUMN_ENTRY
COLUMN_ENTRY_EX