--- description: "Learn more about: IRowsetIdentityImpl Class" title: "IRowsetIdentityImpl Class" ms.date: "11/04/2016" f1_keywords: ["ATL::IRowsetIdentityImpl", "ATL.IRowsetIdentityImpl", "IRowsetIdentityImpl", "IRowsetIdentityImpl.IsSameRow", "ATL.IRowsetIdentityImpl.IsSameRow", "IRowsetIdentityImpl::IsSameRow", "ATL::IRowsetIdentityImpl::IsSameRow"] helpviewer_keywords: ["IRowsetIdentityImpl class", "IsSameRow method"] ms.assetid: 56821edf-e045-40c8-96bd-231552cd5799 --- # IRowsetIdentityImpl Class Implements the OLE DB [IRowsetIdentity](/previous-versions/windows/desktop/ms715913(v=vs.85)) interface, which enables testing for row identity. ## Syntax ```cpp template 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](#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 ```cpp STDMETHOD(IsSameRow )(HROW hThisRow, HROW hThatRow); ``` #### Parameters See [IRowsetIdentity::IsSameRow](/previous-versions/windows/desktop/ms719629(v=vs.85)) 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](../../data/oledb/ole-db-provider-templates-cpp.md)
[OLE DB Provider Template Architecture](../../data/oledb/ole-db-provider-template-architecture.md)