combit List & Label 25 - .NET Online Web Help
FlattenStructure Property (ObjectDataProvider)


combit.ListLabel25.DataProviders Namespace > ObjectDataProvider Class : FlattenStructure Property

This optimization targets classes that contain class properties. If possible (i.e. no property is of type IEnumberable<T>) the members of this class properties are offered directly in the base table. A structure like (pseudo code)

class Customer

{
   public AddressClass Address {get; set;};
   string Firstname {get; set;};
}

will be offered as Customer.Firstname, Customer.Address.Street etc.

Syntax
'Declaration
 
Public Property FlattenStructure As Boolean
public bool FlattenStructure {get; set;}
public:
property bool FlattenStructure {
   bool get();
   void set (    bool value);
}
Requirements

Platforms: Windows 7 SP1 - Windows 10 Version 1909, Windows Server 2008 R2 - 2019

See Also

Reference

ObjectDataProvider Class
ObjectDataProvider Members