Table of Contents

Class QueryLayer

Namespace
JsonApiDotNetCore.Queries
Assembly
JsonApiDotNetCore.dll

A nested data structure that contains QueryExpression constraints per resource type.

[PublicAPI]
public sealed class QueryLayer
Inheritance
QueryLayer
Inherited Members

Constructors

QueryLayer(ResourceType)

public QueryLayer(ResourceType resourceType)

Parameters

resourceType ResourceType

Properties

Filter

public FilterExpression? Filter { get; set; }

Property Value

FilterExpression

Include

public IncludeExpression? Include { get; set; }

Property Value

IncludeExpression

Pagination

public PaginationExpression? Pagination { get; set; }

Property Value

PaginationExpression

ResourceType

public ResourceType ResourceType { get; }

Property Value

ResourceType

Selection

public FieldSelection? Selection { get; set; }

Property Value

FieldSelection

Sort

public SortExpression? Sort { get; set; }

Property Value

SortExpression

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.