Table of Contents

Interface IBpQlApplication

Namespace
BpNexT.NET.GraphQL.Application
Assembly
BpNexT.NET.Contracts.GraphQL.dll

Contract for the GraphQL application facade.

public interface IBpQlApplication : IDisposable
Inherited Members

Properties

Client

Gets the underlying GraphQL client.

IGraphQlClient Client { get; }

Property Value

IGraphQlClient

Projekte

Gets the GraphQL helper for project archive functions.

[Obsolete("Use projekt.MoveToArchiv() / projektArchiv.MoveFromArchiv() on the entity.")]
IGraphQlProjekteClient Projekte { get; }

Property Value

IGraphQlProjekteClient

Vorgaenge

Gets the GraphQL helper for common Vorgang functions.

IGraphQlVorgaengeClient Vorgaenge { get; }

Property Value

IGraphQlVorgaengeClient

Methods

AddDataSet<T>()

Creates a new tracked dataset entity.

T AddDataSet<T>() where T : IDataSetEntity, new()

Returns

T

Type Parameters

T

Batch()

Creates a fluent read batch.

IGraphQlReadBatch Batch()

Returns

IGraphQlReadBatch

QueryChanged<T>(DateTime, string[]?)

Creates a queryable over the rows changed since the given date (AendDat > date, evaluated server-side as a slowFilter).

IQueryable<T> QueryChanged<T>(DateTime date, string[]? includes = null) where T : class, IDataSetEntity, IHasAendDat, new()

Parameters

date DateTime

The date to filter changes from.

includes string[]

Optional field names to include in the query. If null, all fields are selected.

Returns

IQueryable<T>

Type Parameters

T

QueryDataSet<T>(string[]?)

Creates a queryable interface for reading data via GraphQL.

IQueryable<T> QueryDataSet<T>(string[]? includes = null) where T : IDataSetEntity, new()

Parameters

includes string[]

Returns

IQueryable<T>

Type Parameters

T

ReadChanged<T>(DateTime, string[]?)

Creates a queryable over the rows changed since the given date (AendDat > date, evaluated server-side as a slowFilter).

IQueryable<T> ReadChanged<T>(DateTime date, string[]? includes = null) where T : class, IDataSetEntity, IHasAendDat, new()

Parameters

date DateTime

The date to filter changes from.

includes string[]

Optional field names to include in the query. If null, all fields are selected.

Returns

IQueryable<T>

Type Parameters

T

ReadDataSet<T>(string[]?)

Creates a queryable interface for reading data via GraphQL.

IQueryable<T> ReadDataSet<T>(string[]? includes = null) where T : IDataSetEntity, new()

Parameters

includes string[]

Returns

IQueryable<T>

Type Parameters

T