Table of Contents

ToRows Method

Definition

Namespace
Cuemon.Extensions.Data
Assemblies
Cuemon.Extensions.Data.dll
Source
src/Cuemon.Extensions.Data/DataReaderExtensions.cs

ToRows(IDataReader)

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

public static DataTransferRowCollection ToRows(this 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.