EntityDataSource.EnableFlattening Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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).