combit List & Label 25 - .NET Online Web Help
SupportsAnyBaseTable Property (IDataProvider)
Example 


combit.ListLabel25.DataProviders Namespace > IDataProvider Interface : SupportsAnyBaseTable Property

A provider can display if any base table is allowed in the Designer or if the hierarchy of data sources has to be maintained.

A typical example would be customers/orders in a XML file. If inserting "orders" would be allowed on the root level, randomly only the orders of the first customer would be displayed. The below example shows how to avoid that for the XmlDataProvider Class. By that it is only possible to directly insert the customer and to insert the orders one level deeper.

Syntax
'Declaration
 
ReadOnly Property SupportsAnyBaseTable As Boolean
bool SupportsAnyBaseTable {get;}
property bool SupportsAnyBaseTable {
   bool get();
}
Example
public bool SupportsAnyBaseTable
{
    get
    {
        return false;
    }
}
Public Readonly Property SupportsAnyBaseTable() As Boolean
    Get
        Return False
    End Get
End Property
Requirements

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

See Also

Reference

IDataProvider Interface
IDataProvider Members