combit List & Label 29 - .NET Help
combit.Reporting.DataProviders Namespace / ObjectDataProvider Class / FlattenStructure Property


In This Topic
    FlattenStructure Property (ObjectDataProvider)
    In This Topic

    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 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
    .NET: .NET Framework 4.8, .NET 6, .NET 7, .NET 8

    See Also