|
|
|
|
MaxLinkedCardinality (Property) In french: CardinalitéReliéeMax
Available only with these kinds of connection
The MaxLinkedCardinality property sets the characteristics of a link. You can: - Get the maximum cardinality of the related item.
- Change the maximum cardinality of the related item.
// Modify the maximum cardinality LinkClubPerson.MaxLinkedCardinality = hInfiniteCardinality
Syntax
Getting the maximum cardinality of the related item Hide the details
<Cardinality> = <Link>.MaxLinkedCardinality
<Cardinality>: Integer Maximum cardinality of the related item. The hInfiniteCardinality constant identifies the "n" cardinality. <Link>: Character string Name of the link defined in the data model editor or via the Link description type.
Changing the maximum cardinality of the related item Hide the details
<Link>.MaxLinkedCardinality = <New cardinality>
<Link>: Character string Name of the link defined in the data model editor or via the Link description type. <New cardinality>: Integer New maximum cardinality for the related item. The hInfiniteCardinality constant defines the "n" cardinality. By default, when a link is defined programmatically, the maximum cardinality of the related item is 1.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|