Class DataReaderBridge
- Namespace
- ReportWright.Data.SystemData
- Assembly
- ReportWright.Data.SystemData.dll
Adapts IDataReader and DataTable to the engine's DocWright.Reporting.Data.ReportDataReader.
public static class DataReaderBridge
- Inheritance
-
DataReaderBridge
- Inherited Members
Methods
- ColumnsOf(IDataReader)
Describes a reader's columns.
- ToReportReader(DataTable)
Wraps a table, with each column's AllowDBNull as its nullability.
- ToReportReader(IDataReader, bool)
Wraps a reader. Column types come from GetFieldType(int); every column allows null, which no row can violate.