Chapter 9 Working with Data Models


Generating other models from a CDM

The following table details how CDM objects are generated to other models:

CDM OOM PDM
Entity Class Table
Entity attribute Attribute Table column
Primary identifier - Primary or foreign key depending on independent or dependent relationship
Identifier - Alternate key
Association Relationship or association -
Binary association with attributes Association class -
Inheritance Generalization -
Relationship - Reference

Persistent entities (OOM)

All entities are generated as persistent classes with the "Generate table" persistence mode.

When the Generate check box of an entity is not selected, the generated class has the "Migrate columns" persistence mode.

Note   Changing the name of a column automatically
Two columns in the same table cannot have the same name. If column names conflict due to foreign key migration, PowerDesigner automatically renames the migrated columns. The new name is composed of the first three letters of the original entity name followed by the code of the attribute.

 


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