Table of Contents

Method FromReader

Namespace
ReportWright.Data.Metadata
Assembly
ReportWright.Data.Abstractions.dll

FromReader(string, ReportDataReader, CancellationToken)

Reads a reader to its end. The reader's own guard caps what this can hold.

public static DataSetRows FromReader(string dataSetName, ReportDataReader reader, CancellationToken cancellationToken)

Parameters

dataSetName string

The dataset's name.

reader ReportDataReader

The reader, which is read but not disposed.

cancellationToken CancellationToken

Cancels the read.

Returns

DataSetRows

The rows.

Exceptions

ArgumentNullException

reader is null.