BEGIN_ACCESSOR

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

Marks the beginning of an accessor entry. 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.

Macros for OLE DB Consumer Templates

Example

See BEGIN_ACCESSOR_MAP.

See Also

BEGIN_ACCESSOR_MAP, END_ACCESSOR, END_ACCESSOR_MAP