ObjectFlattenerRecomposer 1.1.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package ObjectFlattenerRecomposer --version 1.1.0
NuGet\Install-Package ObjectFlattenerRecomposer -Version 1.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="ObjectFlattenerRecomposer" Version="1.1.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add ObjectFlattenerRecomposer --version 1.1.0
#r "nuget: ObjectFlattenerRecomposer, 1.1.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install ObjectFlattenerRecomposer as a Cake Addin
#addin nuget:?package=ObjectFlattenerRecomposer&version=1.1.0

// Install ObjectFlattenerRecomposer as a Cake Tool
#tool nuget:?package=ObjectFlattenerRecomposer&version=1.1.0

Provides functionality to flatten complex objects into EntityProperty dictionary and functionality to recompose original complex object from the flattened property dictionary. One usage is that the API allows writing any complex object with nested properties into Azure Table Storage in flattened form which is not normally possible by using the Azure Storage Client SDK.

Blog: https://doguarslan.wordpress.com/2016/02/03/writing-complex-objects-to-azure-table-storage/


Dictionary<string, EntityProperty> flattenedProperties = ObjectFlattenerRecomposer.Flatten(complexObject);

//Convert the DynamicTableEntity back to original complex object.

Order order = ObjectFlattenerRecomposer.ConvertBack<Order>(entity.Properties);

Product Compatible and additional computed target framework versions.
.NET Framework net45 is compatible.  net451 was computed.  net452 was computed.  net46 was computed.  net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (1)

Showing the top 1 NuGet packages that depend on ObjectFlattenerRecomposer:

Package Downloads

Converts objects to DynamicTableEntities and DynamicTableEntities back to original objects. Handles conversion of complex objects with complex nested properties. Usage: // Convert Order object to DynamicTableEntity DynamicTableEntity dynamicTableEntity = DynamicTableEntityConverter.ConvertToDynamicTableEntity(order, "pk", "rk"); // Convert DynamicTableEntity back to Order object Order originalOrder = DynamicTableEntityConverter.ConvertToPOCO<Order>(dynamicTableEntity);

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.1 12,730 1/16/2021
2.0.0 42,138 10/1/2017
1.1.4 41,707 7/26/2016
1.1.0 1,327 3/1/2016
1.0.0 2,887 1/27/2016

Update to version 1.1.
- Include support to flatten and recompose TimeSpan, Enum, DateTimeOffset and Nullable type properties.

- Include support to disable processing certain properties using [IgnoreProperty] attribute