ObjectFlattenerRecomposer 1.0.0
See the version list below for details.
dotnet add package ObjectFlattenerRecomposer --version 1.0.0
NuGet\Install-Package ObjectFlattenerRecomposer -Version 1.0.0
<PackageReference Include="ObjectFlattenerRecomposer" Version="1.0.0" />
paket add ObjectFlattenerRecomposer --version 1.0.0
#r "nuget: ObjectFlattenerRecomposer, 1.0.0"
// Install ObjectFlattenerRecomposer as a Cake Addin #addin nuget:?package=ObjectFlattenerRecomposer&version=1.0.0 // Install ObjectFlattenerRecomposer as a Cake Tool #tool nuget:?package=ObjectFlattenerRecomposer&version=1.0.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/
Usage:
Dictionary<string, EntityProperty> flattenedProperties = ObjectFlattenerRecomposer.Flatten(complexObject);
//Convert the DynamicTableEntity back to original complex object.
Order order = ObjectFlattenerRecomposer.ConvertBack<Order>(entity.Properties);
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET Framework | net46 is compatible. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 was computed. net481 was computed. |
-
- WindowsAzure.Storage (>= 4.3.0)
NuGet packages (1)
Showing the top 1 NuGet packages that depend on ObjectFlattenerRecomposer:
Package | Downloads |
---|---|
DynamicTableEntityConverter
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.
ObjectFlattenerRecomposer