AzureTableStoreStoreAsync Method

Stores (upsert/replaces) a collection of ITableEntity objects in a Cosmos table, delegating to StoreAllAsync(IEnumerableITableEntity, String, CancellationToken) for partition grouping and batch-size enforcement.

Definition

Namespace: InnerDrive.Azure
Assembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.3.9666.0
C#
protected Task<Response<IReadOnlyList<Response>>> StoreAsync(
	string tableName,
	IEnumerable<ITableEntity> entities,
	CancellationToken cancellationToken = default
)

Parameters

tableName  String
The table name
entities  IEnumerableITableEntity
The collection of ITableEntity objects
cancellationToken  CancellationToken  (Optional)
A CancellationToken controlling the request lifetime.

Return Value

TaskResponseIReadOnlyListResponse
Response containing a IReadOnlyListT of Response. Each sub-response corresponds to one stored entity.

See Also