TableStorage.Abstractions.POCO 3.1.0

.NET Standard 2.0
There is a newer version of this package available.
See the version list below for details.
dotnet add package TableStorage.Abstractions.POCO --version 3.1.0
NuGet\Install-Package TableStorage.Abstractions.POCO -Version 3.1.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="TableStorage.Abstractions.POCO" Version="3.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 3.1.0
#r "nuget: TableStorage.Abstractions.POCO, 3.1.0"
#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=3.1.0

// Install TableStorage.Abstractions.POCO as a Cake Tool
#tool nuget:?package=TableStorage.Abstractions.POCO&version=3.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.

Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp2.0 netcoreapp2.1 netcoreapp2.2 netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.0 netstandard2.1
.NET Framework net461 net462 net463 net47 net471 net472 net48
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen40 tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

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

Package Downloads
TableStorage.Abstractions.POCO.SecondaryIndexes

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 Downloads Last updated
3.3.0 1,671 4/2/2022
3.2.0 3,081 1/23/2022
3.2.0-beta 92 1/20/2022
3.1.0 478 11/17/2021
3.1.0-beta 158 11/16/2021
3.0.1 524 11/3/2021
3.0.0 590 10/5/2021
2.7.1 3,654 8/20/2020
2.7.0 904 5/11/2020
2.6.1 1,005 3/27/2020
2.6.0 678 3/26/2020
2.4.0 493 3/3/2020
2.3.1 634 2/25/2020
2.3.0 515 2/25/2020
2.2.0 589 2/17/2020
2.1.0 855 4/29/2019
2.0.1 4,870 1/10/2019
2.0.0 651 12/26/2018
1.3.2 984 2/11/2018
1.3.1 903 1/27/2018
1.3.0 1,114 9/5/2017
1.2.0 917 9/3/2017
1.1.3 905 9/2/2017
1.1.2.1 904 8/31/2017
1.1.2 939 8/31/2017
1.1.1 923 8/31/2017
1.0.1 893 8/31/2017
1.0.0 1,060 8/30/2017

Allows for custom property conversion