共用方式為


PROVIDER_COLUMN_ENTRY_STR

Represents a specific column supported by the provider.

PROVIDER_COLUMN_ENTRY_STR(name, ordinal, member )

Parameters

  • name
    [in] The column name.

  • ordinal
    [in] The column number. Unless the column is a Bookmark column, the column number must not be 0.

  • member
    [in] The member variable in the data class that stores the data.

Remarks

Use this macro when the column data is assumed to be DBTYPE_STR.

Example

See BEGIN_PROVIDER_COLUMN_MAP.

Requirements

Header: atldb.h

See Also

Reference

Creating an OLE DB Provider

Concepts

OLE DB Provider Templates (C++)

OLE DB Provider Template Architecture

Other Resources

Macros for OLE DB Provider Templates