Chapter 3 Building Conceptual Data Models


Copying an entity

You can make a copy of an entity within the same model or between models.

The following rules apply to copied entities. The indicated selections for Unique code and Allow reuse apply to the model that receives the copied entity:

Data item
options selected

Result of copying an entity
Unique Code

Allow Reuse
New entity with new name and code

New identifier with new name code

Reuses other entity attributes
Unique Code only New entity with new name and code

New identifier with new name and code

New attributes with new names and codes
Allow Reuse only New entity with new name and code

New identifier with same name and code

Reuses other entity attributes
None New entity with new name and code

New identifier with same name code

New entity attributes with same names and codes

Steps To copy an entity within a model:

  1. Select an entity in the CDM, and then select Edit→Copy and Edit→Paste.
  2. [alternatively] Press ctrl and drag the entity to a new position in the diagram.

    The entity is copied and the new entity is displayed in the Browser and diagram.

Steps To copy an entity to a different model:

  1. Select an entity in the CDM, and then select Edit→Copy
  2. Select the new diagram or model and then select Edit→Paste.

    The entity is copied and the new entity is displayed in the Browser and diagram.

 


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