Table of Contents

Class GraphQlSavableDataSetEntity

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

GraphQL-backed entity base class for tables that support creating or modifying rows but not deleting them. The implementations are provided by the BpNexT.NET.GraphQL runtime assembly.

public abstract class GraphQlSavableDataSetEntity : GraphQlReadOnlyDataSetEntity, IDisposable, IGraphQlSavable, IDataSetEntity
Inheritance
object
GraphQlSavableDataSetEntity
Implements
Inherited Members
Extension Methods

Methods

Save()

Persists the entity via GraphQL mutation.

public void Save()

Exceptions

InvalidOperationException

Thrown when the entity is not attached to a GraphQL context or the runtime is not loaded.

SaveAsync(CancellationToken)

Persists the entity via GraphQL mutation.

public Task SaveAsync(CancellationToken cancellationToken = default)

Parameters

cancellationToken CancellationToken

Token to cancel the request.

Returns

Task

Exceptions

InvalidOperationException

Thrown when the entity is not attached to a GraphQL context or the runtime is not loaded.