Defining a Code Option for Relationships

You can control naming restraints for relationships so that each relationship must have a unique code.

If you do not select Unique Code, two relationships can have the same code, and you differentiate them by the entities they link.

The following error message is displayed when the option you choose is incompatible with the current CDM:

Error message

Solution

Unique Code option could not be selected because at least two relationships have the same code: relationship_code.

Change the code of one relationship

  1. Select Tools > Model Options to open the Model Options dialog box:
  2. Select or clear the Unique Code check box in the Relationship groupbox, and then click OK to return to the model.