Zero to 1 data model relationship

Hi, I wish to have a 0 to 1 relationship in my data model. Meaning that a certain object may have an optional relationship to another object, but it is not required. How would I do this?
1 answers

You either create a 1-1 or a 1-* association, depending on the other side of the relation. In this way, Mendix allows you to store data, but it doesn't force you to add a reference (just like it doesn't force you to enter a value for a string). The associations, therefore should be interpreted as:

  • 1-1: either 0-0, or 1-1
  • 1-*: 0..1 – 0..*
  • *-*: 0..* – 0..*