Chapter 2 Getting Started with Data Modeling


Creating a Data Model

You can create a new CDM from scratch, by importing a Process Analyst Model (.PAM) or an ERwin model (.ERX), or by generating it from a CDM, PDM, or OOM.

You can create a new PDM from scratch, or reverse engineer the model from an existing database.

For information about reverse engineering, see the "Reverse Engineering a Database into a PDM" chapter.

Steps To create a new CDM, LDM, or PDM:

  1. Select File→New to open the New dialog box.
  2. Select one of the following model types:

  3. Select one of the following radio buttons:

  4. Enter a model name. The code of the model, which is used for script or code generation, is derived from this name according to the model naming conventions.
  5. [PDM only] Select a DBMS, and specify whether to:

  6. [PDM only] Select the type of the first diagram. The diagram chosen becomes the default for the next time you create a new PDM. You can create as many diagrams as you need in a CDM, LDM, or PDM.
  7. [optional] Click the Extended Model Definitions tab, and select one or more extended model definitions to attach to your model.

    For more information on using extended model definitions, see "Extended Model Definitions" in the Resource Files and the Public Metamodel chapter of the Customizing and Extending PowerDesigner manual.
  8. Click OK to create the new data model in the current Workspace.

Note   Demo example
Sample data models are available in the Examples directory.

 


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