TableStorage.Abstractions.POCO 2.1.0

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.1.0
dotnet add package TableStorage.Abstractions.POCO --version 2.1.0
<PackageReference Include="TableStorage.Abstractions.POCO" Version="2.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add TableStorage.Abstractions.POCO --version 2.1.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

Release Notes

Added insert or replace functionality

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
2.1.0 139 4/29/2019
2.0.1 1,079 1/10/2019
2.0.0 118 12/26/2018
1.3.2 324 2/11/2018
1.3.1 243 1/27/2018
1.3.0 411 9/5/2017
1.2.0 261 9/3/2017
1.1.3 265 9/2/2017
1.1.2.1 250 8/31/2017
1.1.2 265 8/31/2017
1.1.1 268 8/31/2017
1.0.1 243 8/31/2017
1.0.0 359 8/30/2017