Compartir a través de


BEGIN_ACCESSOR

Marks the beginning of an accessor entry.

BEGIN_ACCESSOR(num, bAuto )

Parameters

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

Remarks

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.

Example

See BEGIN_ACCESSOR_MAP.

Requirements

Header: atldbcli.h

See Also

Reference

BEGIN_ACCESSOR_MAP

END_ACCESSOR

END_ACCESSOR_MAP

Other Resources

Macros and Global Functions for OLE DB Consumer Templates