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
definitionReportDefinitionThe report.
dataSetNamestringThe dataset's name.
runReportRunOptionsThe run options, for the parameter values and the culture.
cancellationTokenCancellationTokenCancels the read.
Returns
- DataSetRows
The rows, capped by the router's guard.