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


In This Topic
    RootTableName Property (ObjectDataProvider)
    In This Topic
    The names for the tables are usually determined by the property names, i.e. if a Person has a List<Addresses> property called "Addresses", this will be the name of the table object made available in the Designer. However, for the "root" object, there is no such property name. Thus, you may set the table name via this property. The default value for this property is the type name of the source object or - if it is a generic type - the type name of the first generic parameter.
    Syntax
    'Declaration
     
    
    Public Property RootTableName As String
    public string RootTableName {get; set;}
    public:
    property String^ RootTableName {
       String^ get();
       void set (    String^ 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