C# Class PdfRpt.DataSources.GenericDataReaderDataSource

Using the data provider factory classes to develop a pluggable data layer that is independent of database type and ADO.NET data provider.
Inheritance: IDataSource
ファイルを表示 Open project: VahidN/PdfReport

Public Methods

Method Description
GenericDataReaderDataSource ( string providerName, string connectionString, string sql ) : System

Converts the selected records to an IEnumerable of the Pdf Cells Data

Rows ( ) : IEnumerable>

The data to render.

Method Details

GenericDataReaderDataSource() public method

Converts the selected records to an IEnumerable of the Pdf Cells Data
public GenericDataReaderDataSource ( string providerName, string connectionString, string sql ) : System
providerName string Invariant name of a provider. Supports the ADO.NET Factory classes to allow you the ability to dynamically load the provider at runtime
connectionString string the connection string
sql string SQL statement to select the required records
return System

Rows() public method

The data to render.
public Rows ( ) : IEnumerable>
return IEnumerable>