Table of Contents

Interface ICloudNativePersistenceBatchOperations

Namespace
Excalibur.Data.CloudNative
Assembly
Excalibur.Data.Abstractions.dll

Provides transactional batch operation capabilities for cloud-native document databases. Obtain via GetService(Type) on an ICloudNativePersistenceProvider instance.

public interface ICloudNativePersistenceBatchOperations

Methods

ExecuteBatchAsync(IPartitionKey, IEnumerable<ICloudBatchOperation>, CancellationToken)

Executes a transactional batch of operations within a partition.

Task<CloudBatchResult> ExecuteBatchAsync(IPartitionKey partitionKey, IEnumerable<ICloudBatchOperation> operations, CancellationToken cancellationToken)

Parameters

partitionKey IPartitionKey

The partition key for all operations.

operations IEnumerable<ICloudBatchOperation>

The operations to execute.

cancellationToken CancellationToken

Cancellation token.

Returns

Task<CloudBatchResult>

The batch result with cost information.