Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 979 Bytes

command-object-interfaces.md

File metadata and controls

16 lines (12 loc) · 979 Bytes
description title ms.date helpviewer_keywords ms.assetid
Learn more about: Command Object Interfaces
Command Object Interfaces
10/24/2018
command object interfaces [C++]
command objects [OLE DB]
OLE DB [C++], command object interfaces
dacff5ae-252c-4f20-9ad7-4e602cc48536

Command Object Interfaces

The command object uses the IAccessor interface to specify parameter bindings. The consumer calls IAccessor::CreateAccessor, passing it an array of DBBINDING structures. DBBINDING contains information about the column bindings (such as type and length). The provider receives the structures and determines how the data should be transferred and whether conversions are necessary.

The ICommandText interface provides a way to specify a text command. The ICommandProperties interface handles all the command properties.

See also

OLE DB Provider Template Architecture