The ADORecordConstruction
interface is used to construct an ADO Record object from an OLE DB Row object in a C/C++ application.
This interface supports the following properties:
ParentRow | Write-only. Sets the container of an OLE DB Row object on this ADO Record object. |
Row | Read/Write. Gets/sets an OLE DB Row object from/on this ADO Record object. |
None.
None.
Given an OLE DB Row object (pRow
), the construction of an ADO Record object (adoR
), amounts to the following three basic operations:
_RecordPtr adoR; adoRs.CreateInstance(__uuidof(_Record));
adoRecordConstructionPtr adoRConstruct=NULL; adoR->QueryInterface(__uuidof(ADORecordConstruction), (void**)&adoRConstruct);
IUnknown *pUnk=NULL; pRow->QueryInterface(IID_IUnknown, (void**)&pUnk); adoRConstruct->put_Row(pUnk);
The resultant adoR object now represents the ADO Record object constructed from the OLE DB Row object.
An ADO Record object can also be constructed from the container of an OLE DB Row object.
Version: ADO 2.0 and later
Library: msado15.dll
UUID: 00000567-0000-0010-8000-00AA006D2EA4