TX Text Control .NET Server

ChildRelations Property

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

Description

Gets a DataRelationInfoCollection representing the parent-child-relationships this table has with other data tables. Is empty in case of the data source being an object, an IEnumerable or an assembly.

Syntax

public DataRelationInfoCollection ChildRelations { get; }

Examples

The following example iterates through the child relations collection and processes each data relation info.

foreach (TXTextControl.DocumentServer.DataSources.DataRelationInfo dataRelationInfo in dataTableInfo.ChildRelations)
{
    Console.WriteLine(dataRelationInfo.RelationName);
}

Limitations

Read only.