Chapter 3 Building Conceptual and Logical Diagrams


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.

Steps To define the Unique Code model option for relationships:

  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.

Error message

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

 


Copyright (C) 2008. Sybase Inc. All rights reserved.