Skip to content

Latest commit

 

History

History
56 lines (34 loc) · 1.7 KB

File metadata and controls

56 lines (34 loc) · 1.7 KB
description Learn more about: CNoAccessor Class
title CNoAccessor Class
ms.date 11/04/2016
f1_keywords
ATL::CNoAccessor
CNoAccessor
ATL.CNoAccessor
helpviewer_keywords
CNoAccessor class
ms.assetid eb669ae5-0a56-49a3-9646-c4ae6239da31

CNoAccessor Class

Can be used as a template argument (TAccessor) for template classes, such as CCommand and CTable, that require an accessor class argument.

Syntax

class CNoAccessor

Remarks

Use CNoAccessor as a template argument when you do not want the class to support parameters or output columns.

CNoAccessor implements the following stub methods, each of which correspond to other accessor class methods:

  • BindColumns - Binds columns to accessors.

  • BindParameters - Binds the created parameters to columns.

  • Bind - Creates bindings.

  • Close - Closes the accessor.

  • ReleaseAccessors - Releases the accessors created by the class.

  • FreeRecordMemory - Frees any columns in the current record that need to be freed.

  • GetColumnInfo - Gets column information from the opened rowset.

  • GetNumAccessors - Retrieves the number of accessors created by the class.

  • IsAutoAccessor - Returns true if data is automatically retrieved for the accessor during a Move operation.

  • GetHAccessor - Retrieves the accessor handle of a specified accessor.

  • GetBuffer - Retrieves the pointer to the bookmark buffer.

  • NoBindOnNullRowset - Prevents data binding on empty rowsets.

Requirements

Header: atldbcli.h

See also

OLE DB Consumer Templates
OLE DB Consumer Templates Reference