共用方式為


EntityPropertyConverter.ConvertBack Method

Definition

Overloads

ConvertBack<T>(IDictionary<String,EntityProperty>, OperationContext)

Reconstructs the complete object graph of type T using the flattened entity property dictionary and returns reconstructed object. The property dictionary may contain only basic properties, only nested properties or a mix of both types.

ConvertBack<T>(IDictionary<String,EntityProperty>, EntityPropertyConverterOptions, OperationContext)

Reconstructs the complete object graph of type T using the flattened entity property dictionary and returns reconstructed object. The property dictionary may contain only basic properties, only nested properties or a mix of both types.

ConvertBack<T>(IDictionary<String,EntityProperty>, OperationContext)

Reconstructs the complete object graph of type T using the flattened entity property dictionary and returns reconstructed object. The property dictionary may contain only basic properties, only nested properties or a mix of both types.

public static T ConvertBack<T> (System.Collections.Generic.IDictionary<string,Microsoft.Azure.Cosmos.Table.EntityProperty> flattenedEntityProperties, Microsoft.Azure.Cosmos.Table.OperationContext operationContext);
static member ConvertBack : System.Collections.Generic.IDictionary<string, Microsoft.Azure.Cosmos.Table.EntityProperty> * Microsoft.Azure.Cosmos.Table.OperationContext -> 'T
Public Shared Function ConvertBack(Of T) (flattenedEntityProperties As IDictionary(Of String, EntityProperty), operationContext As OperationContext) As T

Type Parameters

T

The type of the object to populate

Parameters

flattenedEntityProperties
IDictionary<String,EntityProperty>

The flattened entity property dictionary.

operationContext
OperationContext

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

Returns

T

The result containing the reconstructed object with its full object hierarchy.

Applies to

ConvertBack<T>(IDictionary<String,EntityProperty>, EntityPropertyConverterOptions, OperationContext)

Reconstructs the complete object graph of type T using the flattened entity property dictionary and returns reconstructed object. The property dictionary may contain only basic properties, only nested properties or a mix of both types.

public static T ConvertBack<T> (System.Collections.Generic.IDictionary<string,Microsoft.Azure.Cosmos.Table.EntityProperty> flattenedEntityProperties, Microsoft.Azure.Cosmos.Table.EntityPropertyConverterOptions entityPropertyConverterOptions, Microsoft.Azure.Cosmos.Table.OperationContext operationContext);
static member ConvertBack : System.Collections.Generic.IDictionary<string, Microsoft.Azure.Cosmos.Table.EntityProperty> * Microsoft.Azure.Cosmos.Table.EntityPropertyConverterOptions * Microsoft.Azure.Cosmos.Table.OperationContext -> 'T
Public Shared Function ConvertBack(Of T) (flattenedEntityProperties As IDictionary(Of String, EntityProperty), entityPropertyConverterOptions As EntityPropertyConverterOptions, operationContext As OperationContext) As T

Type Parameters

T

The type of the object to populate

Parameters

flattenedEntityProperties
IDictionary<String,EntityProperty>

The flattened entity property dictionary.

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.

Returns

T

The result containing the reconstructed object with its full object hierarchy.

Applies to