共用方式為


EntityPropertyConverter Class

Definition

EntityPropertyConverter class.

public static class EntityPropertyConverter
type EntityPropertyConverter = class
Public Class EntityPropertyConverter
Inheritance
EntityPropertyConverter

Fields

DefaultPropertyNameDelimiter

The property delimiter.

Methods

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.

Flatten(Object, EntityPropertyConverterOptions, OperationContext)

Traverses object graph, flattens and converts all nested (and not nested) properties to EntityProperties, stores them in the property dictionary. The keys are constructed by appending the names of the properties visited during pre-order depth first traversal from root to each end node property delimited by '_'. Allows complex objects to be stored in persistent storage systems or passed between web services in a generic way.

Flatten(Object, OperationContext)

Traverses object graph, flattens and converts all nested (and not nested) properties to EntityProperties, stores them in the property dictionary. The keys are constructed by appending the names of the properties visited during pre-order depth first traversal from root to each end node property delimited by '_'. Allows complex objects to be stored in persistent storage systems or passed between web services in a generic way.

Applies to