Table of Contents

Class DataSourceRouterOptions

Namespace
ReportWright.Data
Assembly
ReportWright.Data.Abstractions.dll

What the router enforces on every query, whatever the provider does.

public sealed class DataSourceRouterOptions
Inheritance
DataSourceRouterOptions
Inherited Members

Constructors

DataSourceRouterOptions()

Initializes the options with the defaults.

Properties

DefaultTimeout

Gets or sets the timeout for a dataset whose query states none (or states zero, RDL's "no limit"). Default 30 seconds; null for none.

MaxRows

Gets or sets the row cap a query fails at, on top of the engine's own dataset limit. Default one million; null for none. A cap is a refusal, never a truncation.

MaxTimeout

Gets or sets the ceiling a dataset's own Timeout cannot exceed: a report is untrusted input and may ask for a year. Default 10 minutes; null for none.

Methods

For(int?)

Works out the limits for one query.