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


combit.ListLabel24.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 Vista - Windows 10 Version 1809, Windows Server 2008 - 2016

See Also

Reference

IDataProvider Interface
IDataProvider Members