Skip to content

Latest commit

 

History

History
60 lines (50 loc) · 2.32 KB

File metadata and controls

60 lines (50 loc) · 2.32 KB
title CBulkRowset Class | Microsoft Docs
ms.custom
ms.date 11/04/2016
ms.reviewer
ms.suite
ms.technology
cpp-windows
ms.tgt_pltfrm
ms.topic article
f1_keywords
ATL::CBulkRowset
ATL.CBulkRowset
ATL::CBulkRowset<TAccessor>
CBulkRowset
ATL.CBulkRowset<TAccessor>
dev_langs
C++
helpviewer_keywords
CBulkRowset class
ms.assetid c6bde426-c543-4022-a98a-9519d9e2ae59
caps.latest.revision 11
author mikeblome
ms.author mblome
manager ghogen

CBulkRowset Class

Fetches and manipulates rows to work on data in bulk by retrieving multiple row handles with a single call.

Syntax

template <class TAccessor>  
class CBulkRowset : public CRowset<TAccessor>  

Parameters

TAccessor
An accessor class.

Members

Methods

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.

Example

The following example demonstrates use of the CBulkRowset class.

[!code-cppNVC_OLEDB_Consumer#1]

Requirements

Header: atldbcli.h

See Also

OLE DB Consumer Templates
OLE DB Consumer Templates Reference