DataRelationInfo Class
- Namespace
TXTextControl.DocumentServer. DataSources
- Package
TXTextControl.from the private NuGet feed or Text Control Offline PackagesTextControl. WinForms. SDK
- Assembly
TXDocumentServer.dll
- Install
dotnet add package TXTextControl..NET 8 and later. For .NET Framework, referenceTextControl. WinForms. SDK TXDocumentServer.from the setup.dll
Description
The DataRelationInfo class provides all necessary information about parent-child-relations between data tables.
Syntax
public class DataRelationInfoPublic Class DataRelationInfoExamples
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.");Console.WriteLine($"Relation Name: {dataRelationInfo.RelationName}")
Console.WriteLine("Data Relation Info is ready for use.")Members
Properties
| Property | Description |
|---|---|
| ChildColumnName | Gets the name of the child column which is part of this data relation. |
| ChildTableName | Gets the name of the child table which is part of this data relation. |
| ParentColumnName | Gets the name of the parent column which is part of this data relation. |
| ParentTableName | Gets the name of the parent table which is part of this data relation. |
| RelationName | Gets the data relation name if one was defined. |