| title | CBulkRowset Class | Microsoft Docs | |||||
|---|---|---|---|---|---|---|
| ms.custom | ||||||
| ms.date | 11/04/2016 | |||||
| ms.reviewer | ||||||
| ms.suite | ||||||
| ms.technology |
|
|||||
| ms.tgt_pltfrm | ||||||
| ms.topic | article | |||||
| f1_keywords |
|
|||||
| dev_langs |
|
|||||
| helpviewer_keywords |
|
|||||
| ms.assetid | c6bde426-c543-4022-a98a-9519d9e2ae59 | |||||
| caps.latest.revision | 11 | |||||
| author | mikeblome | |||||
| ms.author | mblome | |||||
| manager | ghogen |
Fetches and manipulates rows to work on data in bulk by retrieving multiple row handles with a single call.
template <class TAccessor>
class CBulkRowset : public CRowset<TAccessor>
TAccessor
An accessor class.
| AddRefRows | Increments the reference count. |
| CBulkRowset | Constructor. |
| MoveFirst | Retrieves the first row of data, performing a new bulk fetch if necessary. |
| MoveLast | Moves to the last row. |
| MoveNext | Retrieves the next row of data. |
| MovePrev | Moves to the previous row. |
| MoveToBookmark | Fetches the row marked by a bookmark or the row at a specified offset from that bookmark. |
| MoveToRatio | Fetches rows starting from a fractional position in the rowset. |
| ReleaseRows | Sets the current row (m_nCurrentRow) to zero and releases all rows. |
| SetRows | Sets the number of row handles to be retrieved by one call. |
The following example demonstrates use of the CBulkRowset class.
[!code-cppNVC_OLEDB_Consumer#1]
Header: atldbcli.h
OLE DB Consumer Templates
OLE DB Consumer Templates Reference