TableStorage.Abstractions.POCO 2.7.1

A repository wrapper for Azure Table Storage that uses POCOs (Plain Old CLR Objects) instead of objects that implemeent ITableEntity.

The Azure Storage SDK requires that objects that it works with to implement the ITableEntity interface. This puts us into one of two places that are often not desirable:

You implement the ITableEntity interace, or inherit from TableEntity. This is easy, but now you've got a leaky abstraction, as well as properties that won't make much sense in your domain (e.g. instead of a UserId, you've now got a RowKey, of the wrong type), or you have fields that are out of place, like ETag and Timestamp.
You create DTOs to save to ship data back and forth from the domain to Table Storage. This is a common style, but often is overkill, especially if we're just looking for a simple abstraction on top of Azure Table Storage.
This simple library seeks to take care of the mapping for us, so that you can continue to write your domain objects as POCOs, while still being able to leverage the Azure Storage SDK.

The library will convert simple properties to fields in Azure Table Storage. Complex types will serialize as json.

Install-Package TableStorage.Abstractions.POCO -Version 2.7.1
dotnet add package TableStorage.Abstractions.POCO --version 2.7.1
<PackageReference Include="TableStorage.Abstractions.POCO" Version="2.7.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TableStorage.Abstractions.POCO --version 2.7.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: TableStorage.Abstractions.POCO, 2.7.1"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install TableStorage.Abstractions.POCO as a Cake Addin
#addin nuget:?package=TableStorage.Abstractions.POCO&version=2.7.1

// Install TableStorage.Abstractions.POCO as a Cake Tool
#tool nuget:?package=TableStorage.Abstractions.POCO&version=2.7.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Added sourcelink

NuGet packages (1)

Showing the top 1 NuGet packages that depend on TableStorage.Abstractions.POCO:

Package Downloads
Geared more toward Azure Table Storage (vs CosmosDB, which has an ATS api), using an intra/inter partition (or table) secondary index pattern. This library handles keeping the indexes up to date as data gets mutated.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.7.1 419 8/20/2020
2.7.0 398 5/11/2020
2.6.1 378 3/27/2020
2.6.0 240 3/26/2020
2.4.0 201 3/3/2020
2.3.1 326 2/25/2020
2.3.0 198 2/25/2020
2.2.0 274 2/17/2020
2.1.0 558 4/29/2019
2.0.1 4,292 1/10/2019
2.0.0 344 12/26/2018
1.3.2 606 2/11/2018
1.3.1 520 1/27/2018
1.3.0 684 9/5/2017
1.2.0 527 9/3/2017
1.1.3 543 9/2/2017 532 8/31/2017
1.1.2 533 8/31/2017
1.1.1 543 8/31/2017
1.0.1 525 8/31/2017
1.0.0 643 8/30/2017