[Fields] Association Fields
Association fields are used to link concepts together.
Type of association
There are 3 types of associations available:
Many to many (n-n) : One or more instances of the current concept can be linked to one or more instances of the associated concept.
Many to one (n-1) : An instance of the current concept can be linked to only once instance of the targeted concept. An instance of the targeted concept can be linked to one or more instances of the current concept.
One to many (1-n) : An instance of the current concept can be linked to one or more instances of the targeted concept. An instance of the targeted concept can be linked to only one instance of the current concept.
Reverse
When creating an association field between Concept A and Concept B, the reverse association (association field between Concept B and Concept A) is automatically created:
Association field between Concept A and Concept B | Reverse association field between Concept A and Concept B |
---|---|
Many to many (n-n) | Many to many (n-n) |
Many to one (n-1) | One to many (1-n) |
One to many (1-n) | Many to one (n-1) |
This reverse association can have a name, if not, a default placeholder name is used.
When deleting an association, the reverse association is therefore automatically deleted as well.