IRowsetIdentity

IRowsetIdentity indicates the row instance identity that is implemented on the rowset and enables testing for row identity. If a rowset supports this interface, any two row handles representing the same underlying row will always reflect the same data and state.

IRowsetIdentity depends on IRowset.

Consumers call IsSameRow whenever they need to determine if two row handles represent the same underlying row. For example, if a row handle is returned to the consumer during notification, the consumer can compare it to its own list of row handles to see if it is the handle of a row that is of interest.

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

 

IRowsetIdentity::IsSameRow

Compares two row handles to see if they refer to the same row instance. For information on how this interface is implemented, see the OLE DB Programmer’s Reference.