Specifies the cardinality of this relationship property. Required for relationship properties. Not used for other properties.
To specify the cardinality of a relationship property, use the following syntax:
Relationship relname As classname [ Cardinality = cardinality; inverse = inverse ];
This keyword specifies the cardinality of a relationship property.
The Cardinality keyword is required for relationship properties. It is ignored by non-relationship properties.
There is no default. When you define a relationship, you must specify the Cardinality keyword.
Relationship Chapters As Chapter [ Cardinality = many; inverse = Book ];
© 1997-2019 InterSystems Corporation, Cambridge, MA