Library of Azure Cosmos Table Storage (Table API) related functionality based on the Microsoft.Azure.Cosmos.Table
package.
ByteDev.Azure.Cosmos.Table has been written as a .NET Standard 2.0 library, so you can consume it from a .NET Core or .NET Framework 4.6.1 (or greater) application.
ByteDev.Azure.Cosmos.Table is hosted as a package on nuget.org. To install from the Package Manager Console in Visual Studio run:
Install-Package ByteDev.Azure.Cosmos.Table
Further details can be found on the nuget page.
Releases follow semantic versioning.
Full details of the release notes can be viewed on GitHub.
var createTableIfNotExists = true;
ITableRepository<MyEntity> client = new TableRepository<MyEntity>("ConnectionString",
"MyEntityTableName",
createTableIfNotExists);
var result = await client.GetAllAsync();
TableRepository
(ITableRepository
) methods:
Retrieve
- ExistsAsync
- GetAllAsync
- GetCountAsync
- GetByKeysAsync
- FindByAsync
- FindInAsync
- QueryAsync
Insert
- InsertAsync
- InsertOrReplaceAsync
- InsertOrMergeAsync
Replace
- ReplaceAsync
- ReplaceIfExistsAsync
Merge
- MergeAsync
- MergeIfExistsAsync
Delete
- DeleteAsync
- DeleteAllAsync
- DeleteIfExistsAsync
- DeleteIfOlderThanAsync