Amazon DynamoDB · Types · Services and connections
IArxBatchDataService
Definition
- Namespace
ARX.SDK.Services- Package
ARX.SDK
public interface IArxBatchDataServiceA data service that can run write calls in batch scopes.
Methods
Task<IArxBatchScope> BeginBatchAsync(ArxBatchOptions? options = null, CancellationToken cancellationToken = default)Opens a connection and a transaction, and returns a scope with manual commit: call
CommitAsyncto keep what was written. Disposing the scope without it rolls back. For automatic commit, useRunBatchAsync.Parameter Type Description optionsArxBatchOptions?= nullThe scope's options; null for the defaults (no savepoints). cancellationTokenCancellationToken= defaultCancels the call.