| description | Learn more about: IRowsetIdentityImpl Class | |||||||
|---|---|---|---|---|---|---|---|---|
| title | IRowsetIdentityImpl Class | |||||||
| ms.date | 11/04/2016 | |||||||
| f1_keywords |
|
|||||||
| helpviewer_keywords |
|
|||||||
| ms.assetid | 56821edf-e045-40c8-96bd-231552cd5799 |
Implements the OLE DB IRowsetIdentity interface, which enables testing for row identity.
template <class T, class RowClass = CSimpleRow>
class ATL_NO_VTABLE IRowsetIdentityImpl
: public IRowsetIdentityT
A class derived from IRowsetIdentityImpl.
RowClass
The storage unit for the HROW.
Header: atldb.h
| Name | Description |
|---|---|
| IsSameRow | Compares two row handles to see if they refer to the same row. |
Compares two row handles to see if they refer to the same row.
STDMETHOD(IsSameRow )(HROW hThisRow,
HROW hThatRow);See IRowsetIdentity::IsSameRow in the OLE DB Programmer's Reference.
To compare row handles, this method casts the HROW handles to RowClass members and calls memcmp on the pointers.
OLE DB Provider Templates
OLE DB Provider Template Architecture