Skip to content

DapperMaticQueryLimits ​

Namespace: MJCZone.DapperMatic.AspNetCore.Models

Assembly: MJCZone.DapperMatic.AspNetCore

Summary ​

How much a query request may ask for; a request that asks for more is refused with 400.

sealed public

Contents ​

Constructors (1) | Methods (4) | Properties (8)

Constructors ​

DapperMaticQueryLimits ​

csharp
DapperMaticQueryLimits()

Methods ​

GetType ​

csharp
GetType()

ToString ​

csharp
ToString()

Equals ​

csharp
Equals()

GetHashCode ​

csharp
GetHashCode()

Properties ​

MaxTop ​

Gets or sets the most rows a request, or an expand per row, may ask for; a request that asks for no count (a GraphQL list without <c>first</c>) reads this many at most. REST's own page, without <c>$top</c>, is 100 rows.

Type: int

MaxExpandDepth ​

Gets or sets the most levels of <c>$expand</c>.

Type: int

MaxLambdaDepth ​

Gets or sets the most levels of <c>any</c>, <c>all</c> and <c>$count</c> within each other.

Type: int

MaxNodes ​

Gets or sets the most parts of a request's conditions, orderings and values.

Type: int

MaxExpandedRows ​

Gets or sets the most related rows a request's expands may read, all of them together. An expand without <c>$top</c> reads every related row of each row read.

Type: int

MaxInsertRows ​

Gets or sets the most rows one insert request may hold.

Type: int

MaxAffectedRows ​

Gets or sets the most rows one update or delete request may change, or null for no limit. A request that would change more is rolled back and refused.

Type: int?

MaxBatchOperations ​

Gets or sets the most operations one batch may hold.

Type: int