Table of Contents

Class SystemDataSourceProvider

Namespace
ReportWright.Data.SystemData
Assembly
ReportWright.Data.SystemData.dll

Data the host already holds as System.Data objects. The resolved source's Connection is a DataSet (the command text names a table, or the first table is used), a DataTable, or a Func<ReportDataQuery, IDataReader> or Func<ReportDataQuery, DataTable> the host runs its own command in. Nothing here builds a query from values: a table name is looked up, never concatenated.

public sealed class SystemDataSourceProvider : DataSourceProvider
Inheritance
SystemDataSourceProvider
Inherited Members

Constructors

SystemDataSourceProvider()

Fields

ProviderKind

The kind this provider serves.

Properties

Kind

Gets the kind this provider serves, matched to Kind ignoring case.

Methods

DiscoverSchema(ResolvedDataSource, ReportDataQuery, DataSourceExecutionOptions, CancellationToken)

Discovers the fields a dataset's query yields, without reading its rows where the source allows.

Execute(ResolvedDataSource, ReportDataQuery, DataSourceExecutionOptions, CancellationToken)

Runs a dataset's query.

Test(ResolvedDataSource, CancellationToken)

Tests that the source can be reached, without running a dataset.