AzureTableStoreStoreAsync Method

Stores (upsert/replaces) a collection of ITableEntity objects in a Cosmos table

Definition

Namespace: InnerDrive.Azure
Assembly: InnerDrive.Azure (in InnerDrive.Azure.dll) Version: 5.2.9417.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 in the collection corresponds to the TableTransactionAction provided to the transactionActions parameter at the same index position. Each response can be inspected for details for its corresponding table operation, such as the Headers property containing the ETag

See Also