Info
Version: | 1.0.0 |
Author(s): | Dogu Arslan |
Last Update: | Wednesday, April 5, 2017 |
.NET Fiddle: | Create the first Fiddle |
NuGet Url: | https://www.nuget.org/packages/TableEntityAdapter |
Install
Install-Package TableEntityAdapter
dotnet add package TableEntityAdapter
paket add TableEntityAdapter
TableEntityAdapter Download (Unzip the "nupkg" after downloading)
Dependencies
- System.ComponentModel.EventBasedAsync(>= 4.0.11)
- System.Dynamic.Runtime(>= 4.0.0)
- System.Linq.Queryable(>= 4.0.0)
- System.Net.Requests(>= 4.0.11)
- WindowsAzure.Storage(>= 8.1.1)
Tags
POCO class you want to write to table storage can have multiple layers of nested complex properties and can be a struct. It can have nullable or enum properties, all of these will be written to azure table storage.
TableEntityAdapter will handle conversion, using the Azure Storage SDK api s underneath.
Usage:
TableEntityAdapter<POCOClass> tableEntityAdapter = new TableEntityAdapter<POCOClass>(POCOObject, "partitionKey", "rowKey");
//Write this tableEntityAdapter directly to azure table storage.
//Read TableEntityAdapter<POCOClass> back from Azure Table Storage using the same partition and row key.
//The original POCOObject you wrote to azure table storage is saved in the OriginalEntity property of the TableEntityAdapter object that you read back from table storage.