Class GraphQlSavableDataSetEntity
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
-
objectGraphQlSavableDataSetEntity
- 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
cancellationTokenCancellationTokenToken to cancel the request.
Returns
Exceptions
- InvalidOperationException
Thrown when the entity is not attached to a GraphQL context or the runtime is not loaded.