| title |
CSimpleRow Class | Microsoft Docs |
| ms.custom |
|
| ms.date |
11/04/2016 |
| ms.reviewer |
|
| ms.suite |
|
| ms.technology |
|
| ms.tgt_pltfrm |
|
| ms.topic |
article |
| f1_keywords |
CSimpleRow |
ATL::CSimpleRow |
ATL.CSimpleRow |
|
| dev_langs |
|
| helpviewer_keywords |
|
| ms.assetid |
06d9621d-60cc-4508-8b0c-528d1b1a809b |
| caps.latest.revision |
9 |
| author |
mikeblome |
| ms.author |
mblome |
| manager |
ghogen |
| translation.priority.ht |
cs-cz |
de-de |
es-es |
fr-fr |
it-it |
ja-jp |
ko-kr |
pl-pl |
pt-br |
ru-ru |
tr-tr |
zh-cn |
zh-tw |
|
Provides a default implementation for the row handle, which is used in the IRowsetImpl class.
|
|
| AddRefRow |
Adds a reference count to an existing row handle. |
| Compare |
Compares two rows to see if they refer to the same row instance. |
| CSimpleRow |
The constructor. |
| ReleaseRow |
Releases rows. |
|
|
| m_dwRef |
Reference count to an existing row handle. |
| m_iRowset |
An index to the rowset representing the cursor. |
Remarks
A row handle is logically a unique tag for a result row. IRowsetImpl creates a new CSimpleRow for every row requested in IRowsetImpl::GetNextRows. CSimpleRow can also be replaced with your own implementation of the row handle, as it is a default template argument to IRowsetImpl. The only requirement to replacing this class is to have the replacement class provide a constructor that accepts a single parameter of type LONG.
Header: atldb.h
OLE DB Provider Templates
OLE DB Provider Template Architecture
IRowsetImpl Class