TableEntity.Flatten
Method
Definition
Overloads
| Flatten(Object, OperationContext) |
Flattens the entity and creates a IDictionary<TKey, TValue> of EntityProperty objects for all properties of the specified entity object. |
| Flatten(Object, EntityPropertyConverterOptions, OperationContext) |
Flattens the entity and creates a IDictionary<TKey, TValue> of EntityProperty objects for all properties of the specified entity object. |
Flatten(Object, OperationContext)
Flattens the entity and creates a IDictionary<TKey, TValue> of EntityProperty objects for all properties of the specified entity object.
public static System.Collections.Generic.IDictionary<string,Microsoft.WindowsAzure.Storage.Table.EntityProperty> Flatten (object entity, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
- entity
- Object
The entity object to serialize.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
An IDictionary<TKey, TValue> of EntityProperty objects for all the properties of the specified entity object.
Remarks
The entity type can be a simple object with a flat structure or a complex object with complex properties and multiple levels of object hierarchy. Generic ConvertBack method can recompose the original entity using the return value of this method.
Flatten(Object, EntityPropertyConverterOptions, OperationContext)
Flattens the entity and creates a IDictionary<TKey, TValue> of EntityProperty objects for all properties of the specified entity object.
public static System.Collections.Generic.IDictionary<string,Microsoft.WindowsAzure.Storage.Table.EntityProperty> Flatten (object entity, Microsoft.WindowsAzure.Storage.Table.EntityPropertyConverterOptions entityPropertyConverterOptions, Microsoft.WindowsAzure.Storage.OperationContext operationContext);
- entity
- Object
The entity object to serialize.
- entityPropertyConverterOptions
- EntityPropertyConverterOptions
A EntityPropertyConverterOptions object that specifies options for the entity property conversion.
- operationContext
- OperationContext
An OperationContext object that represents the context for the current operation.
An IDictionary<TKey, TValue> of EntityProperty objects for all the properties of the specified entity object.
Remarks
The entity type can be a simple object with a flat structure or a complex object with complex properties and multiple levels of object hierarchy. Generic ConvertBack method can recompose the original entity using the return value of this method.