ChildRelations Property
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.asTextControl. WinForms. SDK TXDocumentServer.from the private NuGet feed or Text Control Offline Packagesdll
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; }Public ReadOnly Property ChildRelations As DataRelationInfoCollectionExamples
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);
}For Each dataRelationInfo As TXTextControl.DocumentServer.DataSources.DataRelationInfo In dataTableInfo.ChildRelations
Console.WriteLine(dataRelationInfo.RelationName)
NextLimitations
Read only.