Compartir a través de


BEGIN_PROVIDER_COLUMN_MAP

Marks the beginning of the provider column map entries.

BEGIN_PROVIDER_COLUMN_MAP(theClass )

Parameters

  • theClass
    [in] The name of the class this map belongs to.

Example

Here is a sample provider column map:

BEGIN_PROVIDER_COLUMN_MAP(CMyProviderWindowsFile)
    PROVIDER_COLUMN_ENTRY("FileAttributes", 1, dwFileAttributes)
    PROVIDER_COLUMN_ENTRY("FileSizeHigh", 2, nFileSizeHigh)
    PROVIDER_COLUMN_ENTRY("FileSizeLow", 3, nFileSizeLow)
    PROVIDER_COLUMN_ENTRY_STR("FileName", 4, cFileName)
    PROVIDER_COLUMN_ENTRY_STR("AltFileName", 5, cAlternateFileName)
END_PROVIDER_COLUMN_MAP()

Requirements

Header: atldb.h

See Also

Concepts

Macros for OLE DB Provider Templates

OLE DB Provider Templates (C++)

The OLE DB Provider Template Architecture

Creating an OLE DB Provider