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
dataSetNamestringThe dataset's name.
readerReportDataReaderThe reader, which is read but not disposed.
cancellationTokenCancellationTokenCancels the read.
Returns
- DataSetRows
The rows.
Exceptions
- ArgumentNullException
readeris null.