TableEntity.Flatten TableEntity.Flatten Method

Definition

Overloads

Flatten(Object, OperationContext) 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) 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) 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);
static member Flatten : obj * Microsoft.WindowsAzure.Storage.OperationContext -> System.Collections.Generic.IDictionary<string, Microsoft.WindowsAzure.Storage.Table.EntityProperty>
Parameters
entity
Object Object

The entity object to serialize.

operationContext
OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

Returns

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) 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);
static member Flatten : obj * Microsoft.WindowsAzure.Storage.Table.EntityPropertyConverterOptions * Microsoft.WindowsAzure.Storage.OperationContext -> System.Collections.Generic.IDictionary<string, Microsoft.WindowsAzure.Storage.Table.EntityProperty>
Parameters
entity
Object Object

The entity object to serialize.

entityPropertyConverterOptions
EntityPropertyConverterOptions EntityPropertyConverterOptions

A EntityPropertyConverterOptions object that specifies options for the entity property conversion.

operationContext
OperationContext OperationContext

An OperationContext object that represents the context for the current operation.

Returns

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.

Applies to