แก้ไข

แชร์ผ่าน


IRowsetIdentityImpl Class

Implements the OLE DB IRowsetIdentity interface, which enables testing for row identity.

Syntax

template <class T, class RowClass = CSimpleRow>
class ATL_NO_VTABLE IRowsetIdentityImpl
   : public IRowsetIdentity

Parameters

T
A class derived from IRowsetIdentityImpl.

RowClass
The storage unit for the HROW.

Requirements

Header: atldb.h

Members

Methods

Name Description
IsSameRow Compares two row handles to see if they refer to the same row.

IRowsetIdentityImpl::IsSameRow

Compares two row handles to see if they refer to the same row.

Syntax

STDMETHOD(IsSameRow )(HROW hThisRow,
   HROW hThatRow);

Parameters

See IRowsetIdentity::IsSameRow in the OLE DB Programmer's Reference.

Remarks

To compare row handles, this method casts the HROW handles to RowClass members and calls memcmp on the pointers.

See also

OLE DB Provider Templates
OLE DB Provider Template Architecture