Table of Contents

Class ReportDataReader

Namespace
DocWright.Reporting.Data
Assembly
DocWright.Reporting.dll

The rows a data provider returns for one query: a schema first, then rows one at a time.

public abstract class ReportDataReader : IDisposable
Inheritance
ReportDataReader
Implements
Inherited Members

Remarks

The schema is a promise the processor holds the provider to. A value must be null or an instance of its column's Type, and null only where AllowsNull says so. A value that breaks the schema stops the report with DXP9202 naming the column and row: coercing it would hand expressions a type the report was not written for, which is how a total ends up a string.

Value is accepted as null.

Constructors

ReportDataReader()

Initializes the base class.

Properties

Columns

Gets the columns every row has, in ordinal order.

Methods

Dispose()

Releases the reader.

Dispose(bool)

Releases what the reader holds.

GetValue(int)

Gets a value of the current row.

Read()

Advances to the next row.