Chapter 7 Linking and Synchronizing Models in PowerDesigner


Updating an existing model

During an update the source model is converted into a model of the same type as the target and then both models are merged.

If you select the Preserve Modifications option You can manually compare and merge the existing source model (model to be merged in the right pane) with the newly generated model in the left pane.

If you do not select the Preserve Modifications option The existing target model is automatically replaced by the newly generated model. The Merge dialog box is not displayed.

In the Update Existing Model groupbox, the Select Model dropdown listbox contains all the models already generated from the current model. You can use the tooltip in the dropdown listbox to verify the workspace location and physical path of the generated models.

Steps To update an existing model:

  1. Select Tools→Generate Model type to display the generation dialog box.
  2. Select the Update Existing Model type radio button.
  3. Select a model from the Select Model list.
  4. Select or clear the Preserve Modifications check box.
  5. Click the Detail tab to define options and generation parameters.
  6. Click the Target Models tab to select the target models of shortcuts in the current model.
  7. Click the Selection tab to select the objects you want to generate.

    You can select the entire model or a package name in the Select Location list. If you click the Include Sub-packages tool you display all the objects belonging to the current package and its sub-packages.
  8. Click OK.

    If you cleared the Preserve Modifications check box the updated PDM diagram appears in the work area.

    If you selected the Preserve Modifications check box, the Merge dialog box appears and displays the new model in the left pane and the existing model in the right pane. You can select or clear check boxes in the right pane for objects that you want to include or delete in the model to be merged. When you clear the check box of a merge action in the right pane, this action will remain deselected the next time in the Merge dialog box.

    For more information on merging models, see the "Comparing and Merging Models" chapter.

 


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