Chapter 9 Generating Other Models from a PDM


Configuring the generated model options

When you configure the options of a CDM to generate, you may define options diverging from the PDM options.

To avoid conflicts, PowerDesigner applies the following rule for default values of CDM options: an option defined for the generated CDM should respect the equivalent option of the PDM.

Equivalent options are model options found in both models. The Enforce non-divergence option exists in both PDM and CDM.

PDM option CDM option Result in generated CDM
Enforce non-divergence Enforce non-divergence in model according to PDM options. Data items and attributes attached to the domain cannot have divergent definitions
Enforce non-divergence Enforce non-divergence in model according to CDM options defined using the Configure Model Options feature

Relationships unique code

Unique Code for relationships is not selected by default in the CDM options. However, if you select Unique Code for relationships in the CDM options, relationships are renamed during the generation of a PDM to a CDM.

Options with no equivalent, like Enforce Profile in the PDM without any corresponding option in a CDM, are generated using default values found in the registry.

 


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