EntityDataSource.EnableFlattening Propriedade

Definição

Obtém ou define o valor que indica se você deseja desligar a criação do wrapper.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

Valor da propriedade

Boolean

true Se as propriedades forem achatadas; caso contrário, false .true if the properties will be flattened; otherwise, false.

Comentários

Quando você inicializa o EntityDataSource controle usando a EntitySetName propriedade, o EntityDataSource encapsula cada instância de entidade nos resultados em um objeto do ICustomTypeDescriptor tipo.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. Para obter mais informações, consulte objetos de achatamento (EntityDataSource).For more information, see Flattening Objects (EntityDataSource).

Aplica-se a