TX Text Control .NET for Windows Forms

DataRelationInfo Class

Class|Introduced in 24.0
Namespace
TXTextControl.DocumentServer.DataSources
Package
TXTextControl.TextControl.WinForms.SDK from the private NuGet feed or Text Control Offline Packages
Assembly
TXDocumentServer.dll
Install
dotnet add package TXTextControl.TextControl.WinForms.SDK .NET 8 and later. For .NET Framework, reference TXDocumentServer.dll from the setup.

Description

The DataRelationInfo class provides all necessary information about parent-child-relations between data tables.

Syntax

public class DataRelationInfo

Examples

The following example includes the relation name value from a Data Relation Info object in application diagnostics. The created object is then available to the surrounding document workflow.

Console.WriteLine($"Relation Name: {dataRelationInfo.RelationName}");
Console.WriteLine("Data Relation Info is ready for use.");

Members

Properties

PropertyDescription
ChildColumnNameGets the name of the child column which is part of this data relation.
ChildTableNameGets the name of the child table which is part of this data relation.
ParentColumnNameGets the name of the parent column which is part of this data relation.
ParentTableNameGets the name of the parent table which is part of this data relation.
RelationNameGets the data relation name if one was defined.