Parameters
- relationName
Name of the relation to check, if it can used as 1:1 relation.
Name of the relation to check, if it can used as 1:1 relation.
This function is used to mark relations as pure 1:n relations. By default, all relations whose ITableRow interface returns "true" for SupportsGetParentRow are displayed in the tree as 1:1 nodes within the corresponding tables. As an example you can see this in the provided sample application with its Northwind data source for the relation "Customers" below the table "Orders":
But if there are (some) relations for which this should not be the case, because they cannot be resolved backwards by the data source, this can be intercepted in this function.
Name of the relation to check, if it can used as 1:1 relation.
For compatibility reasons, the default behavior of List & Label 24 and earlier can be restored by always returning "true".
Platforms: Windows 10 (Version 21H2 - 23H2), Windows 11 (21H2 - 22H2), Windows Server 2016 - 2022
.NET: .NET Framework 4.8, .NET 6, .NET 8, .NET 9