Table of Contents

Method ReadDataSet

Namespace
ReportWright.AspNetCore
Assembly
ReportWright.AspNetCore.dll

ReadDataSet(ReportDefinition, string, ReportRunOptions, CancellationToken)

Reads one dataset's rows for a client that runs the engine itself, evaluating the query from the stored definition — never from text the client sent.

public DataSetRows ReadDataSet(ReportDefinition definition, string dataSetName, ReportRunOptions run, CancellationToken cancellationToken)

Parameters

definition ReportDefinition

The report.

dataSetName string

The dataset's name.

run ReportRunOptions

The run options, for the parameter values and the culture.

cancellationToken CancellationToken

Cancels the read.

Returns

DataSetRows

The rows, capped by the router's guard.