Table of Contents

GetRows Method

Definition

Namespace
Cuemon.Data
Assemblies
Cuemon.Data.dll
Source
src/Cuemon.Data/DataTransfer.cs

GetRows(IDataReader)

Converts the specified reader implementation to a table-like data transfer object collection.

public static DataTransferRowCollection GetRows(IDataReader reader)

Parameters

reader IDataReader

The reader to be converted.

Returns

DataTransferRowCollection

A DataTransferRowCollection that is the result of the specified reader.

Exceptions

ArgumentNullException

reader is null.

ArgumentException

reader is closed.