Редагувати

Поділитися через


EntityDataSource.EnableFlattening Property

Definition

Gets or sets the value that indicates whether you want to turn off wrapper creation.

public:
 property bool EnableFlattening { bool get(); void set(bool value); };
public bool EnableFlattening { get; set; }
member this.EnableFlattening : bool with get, set
Public Property EnableFlattening As Boolean

Property Value

true if the properties will be flattened; otherwise, false.

Remarks

When you initialize the EntityDataSource control by using the EntitySetName property, the EntityDataSource wraps each entity instance in the results in an object of the ICustomTypeDescriptor type. For more information, see Flattening Objects (EntityDataSource).

Applies to