Table of Contents

Class ReportInMemoryDataProvider

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

A data provider over data the host already holds, matched to datasets by name.

public sealed class ReportInMemoryDataProvider : ReportDataProvider
Inheritance
ReportInMemoryDataProvider
Inherited Members

Remarks

The query's command text and parameters are ignored: the data is whatever was added under the dataset's name. That is what a designer's preview and a test want, and it is the whole of what DocWright ships — anything that reaches a database is the host's own provider.

Constructors

ReportInMemoryDataProvider()

Methods

Add(string, ReportDataTable)

Supplies a table for a dataset.

Add<T>(string, ReportObjectData<T>)

Supplies a sequence of objects for a dataset.

ExecuteQuery(ReportDataQuery, CancellationToken)

Runs one dataset's query.