AzureTableStoreStoreAllAsync Method
Upserts a collection of ITableEntity objects into an Azure table, grouping by
partition key and splitting each partition into sub-batches of at most 100 entities (the
Azure Table Storage transaction limit). Entities with duplicate row keys within a partition
are deduplicated; the first occurrence is kept.
Namespace: InnerDrive.AzureAssembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.3.9666.0
protected Task<Response<IReadOnlyList<Response>>> StoreAllAsync(
IEnumerable<ITableEntity> entities,
string tableName,
CancellationToken cancellationToken = default
)
- entities IEnumerableITableEntity
- The entities to store.
- tableName String
- The name of the target Azure table.
- cancellationToken CancellationToken (Optional)
- A CancellationToken
controlling the request lifetime.
TaskResponseIReadOnlyListResponseA
Response whose value is a flattened
IReadOnlyListT of per-item
Response objects
across all submitted batches and partitions.
Per-partition exceptions are caught, logged at
Error, and appended
to
Exceptions. Processing continues for remaining partitions.
The raw HTTP response on the returned value reflects the last submitted batch;
when no entities are stored (empty input or all partitions deduplicated away) the
returned response has an empty value list and a
null raw HTTP response.