DataTableInfo 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 DataTableInfo class provides basic information about a data table in a data source.
Syntax
public class DataTableInfoPublic Class DataTableInfoExamples
The following example includes the table name value from a Data Table Info object in application diagnostics. The created object is then available to the surrounding document workflow.
Console.WriteLine($"Table Name: {dataTableInfo.TableName}");
Console.WriteLine("Data Table Info is ready for use.");Console.WriteLine($"Table Name: {dataTableInfo.TableName}")
Console.WriteLine("Data Table Info is ready for use.")Members
Properties
| Property | Description |
|---|---|
| ChildRelations | 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. |
| ChildTables | 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) |
| Columns | Gets a DataColumnInfoCollection representing the columns of this data table. |
| TableName | Gets the table name. |