Поделиться через


BEGIN_ACCESSOR

Marks the beginning of an accessor entry.

BEGIN_ACCESSOR(num, bAuto )

Параметры

  • num
    [in] The zero-offset number for the accessor in this accessor map.

  • bAuto
    [in] Specifies if this accessor is an auto accessor or a manual accessor. If true, the accessor is auto; if false, the accessor is manual. An auto accessor means data is fetched for you on move operations.

Заметки

In the case of multiple accessors on a rowset, you need to specify BEGIN_ACCESSOR_MAP and use the BEGIN_ACCESSOR macro for each individual accessor. The BEGIN_ACCESSOR macro is completed with the END_ACCESSOR macro. The BEGIN_ACCESSOR_MAP macro is completed with the END_ACCESSOR_MAP macro.

Пример

See BEGIN_ACCESSOR_MAP.

Требования

Header: atldbcli.h

См. также

Основные понятия

Macros and Global Functions for OLE DB Consumer Templates

BEGIN_ACCESSOR_MAP

END_ACCESSOR

END_ACCESSOR_MAP