combit List & Label 25 - .NET Online Web Help
SupportedAs1To1Relation Method

combit.ListLabel25.DataProviders Namespace > ICanHandleUsedRelations Interface : SupportedAs1To1Relation Method

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.

Function SupportedAs1To1Relation( _
   ByVal relationName As String _
) As Boolean
bool SupportedAs1To1Relation( 
   string relationName
bool SupportedAs1To1Relation( 
   String^ relationName



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 7 SP1 to Windows 10 Version 1709 - 1909, Windows Server 2008 R2 to 2019

See Also


ICanHandleUsedRelations Interface
ICanHandleUsedRelations Members