| title | BEGIN_COLUMN_MAP | Microsoft Docs | |||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| ms.custom | ||||||||||
| ms.date | 11/04/2016 | |||||||||
| ms.reviewer | ||||||||||
| ms.suite | ||||||||||
| ms.technology |
|
|||||||||
| ms.tgt_pltfrm | ||||||||||
| ms.topic | article | |||||||||
| f1_keywords |
|
|||||||||
| dev_langs |
|
|||||||||
| helpviewer_keywords |
|
|||||||||
| ms.assetid | d6ffe633-e0da-4e33-8faa-f7f259d05420 | |||||||||
| caps.latest.revision | 9 | |||||||||
| author | mikeblome | |||||||||
| ms.author | mblome | |||||||||
| manager | ghogen | |||||||||
| translation.priority.ht |
|
|||||||||
| translation.priority.mt |
|
Marks the beginning of a column map entry.
BEGIN_COLUMN_MAP(
x
)
x
[in] The name of the user record class derived from CAccessor.
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.
Here is a sample column and parameter map:
Header: atldbcli.h
Macros and Global Functions for OLE DB Consumer Templates
END_COLUMN_MAP
COLUMN_ENTRY
COLUMN_ENTRY_EX