Table of Contents

Class GraphQlRemovableDataSetEntity

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

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

public abstract class GraphQlRemovableDataSetEntity : GraphQlReadOnlyDataSetEntity, IDisposable, IGraphQlRemovable, IDataSetEntity
Inheritance
object
GraphQlRemovableDataSetEntity
Implements
Inherited Members
Extension Methods

Methods

Remove()

Deletes the entity via GraphQL mutation.

public void Remove()

Exceptions

InvalidOperationException

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

RemoveAsync(CancellationToken)

Deletes the entity via GraphQL mutation.

public Task RemoveAsync(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.