Table of Contents

Class GraphQlQueryOptions<T>

Namespace
BpNexT.NET.GraphQL.Models
Assembly
BpNexT.NET.GraphQL.dll

Fluent query options bound to a model type.

public class GraphQlQueryOptions<T> where T : IDataSetEntity, new()

Type Parameters

T
Inheritance
object
GraphQlQueryOptions<T>

Constructors

GraphQlQueryOptions()

public GraphQlQueryOptions()

Properties

KeyFilter

Typed key filter builder.

public KeyFilterOptions<T> KeyFilter { get; }

Property Value

KeyFilterOptions<T>

Methods

ModifyLsn(long)

public GraphQlQueryOptions<T> ModifyLsn(long modifyLsn)

Parameters

modifyLsn long

Returns

GraphQlQueryOptions<T>

NearestMatch(bool)

public GraphQlQueryOptions<T> NearestMatch(bool enabled = true)

Parameters

enabled bool

Returns

GraphQlQueryOptions<T>

SortBy<TIndex>()

Selects the server sort order (allBetween: { byX: {} }) by index type. Ascending only; the server offers no descending or backward pagination.

public GraphQlQueryOptions<T> SortBy<TIndex>() where TIndex : IDataSetIndex

Returns

GraphQlQueryOptions<T>

Type Parameters

TIndex

UseContext()

public GraphQlQueryOptions<T> UseContext()

Returns

GraphQlQueryOptions<T>

UseCurrent()

public GraphQlQueryOptions<T> UseCurrent()

Returns

GraphQlQueryOptions<T>