TX Text Control .NET for Windows Forms

ChildTables Property

Property|Introduced in 24.0
Namespace
TXTextControl.DocumentServer.DataSources
Package
TXTextControl.TextControl.WinForms.SDK as TXDocumentServer.dll from the private NuGet feed or Text Control Offline Packages

Description

Gets a DataTableInfoCollection representing the child-tables this table has. (Either according to the known data relations or, in case of an assembly or an object as a data source, to the properties of the involved classes)

Syntax

public DataTableInfoCollection ChildTables { get; }

Examples

The following example iterates through the child tables collection and processes each data table info.

foreach (TXTextControl.DocumentServer.DataSources.DataTableInfo dataTableInfoItem in dataTableInfo.ChildTables)
{
    Console.WriteLine(dataTableInfoItem.TableName);
}

Limitations

Read only.