Creating a Data Model

You create a new data model by selecting File > New Model.

Note:
In addition to creating a data model from scratch with the following procedure, you can also:
  • create a CDM by importing an ERwin model (.ERX) or a legacy PowerDesigner Process Analyst Model (.PAM) or by generating it from another PowerDesigner model.
  • create an LDM by generating it from another PowerDesigner model.
  • create a PDM by reverse-engineering it from an existing database (see Reverse Engineering a Database into a PDM) or generating it from another PowerDesigner model.
The New Model dialog is highly configurable, and your administrator may have hidden options that are not relevant for your work or provided templates or predefined models to guide you through model creation. When you open the dialog, one or more of the following buttons will be available on the left hand side:
  • Categories - which provides a set of predefined models and diagrams sorted in a configurable category structure.
  • Model types - which provides the classic list of PowerDesigner model types and diagrams.
  • Template files - which provides a set of model templates sorted by model type.

New Model Dialog
  1. Select File > New Model to open the New Model dialog.
  2. Click a button, and then select a category or model type ( Conceptual Data Model, Logical Data Model or Physical Data Model ) in the left-hand pane.
  3. Select an item in the right-hand pane. Depending on how your New Model dialog is configured, these items may be first diagrams or templates on which to base the creation of your model. Use the Views tool on the upper right hand side of the dialog to control the display of the items.
  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] [when available] Select a DBMS , and specify whether to:

    • Share the DBMS definition – creates a link to the file in the Resource Files\ DBMS directory. Changes made to the target affect all models that share it.
    • Copy the DBMS definition in model – makes a copy of the resource file and saves it with the model. Changes made to the target affect only the current model.
    For more information about PowerDesigner resource files, and how to add extensions to them, see the Customizing and Extending PowerDesigner manual.
  6. [optional] Click the Select Extensions button and attach one or more extensions to your model.
  7. Click OK to create and open the data model .
    Note: Sample data models are available in the Example Directory.