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 list contains all the models already generated from the current model. You can use the tooltip in the list to verify the workspace location and physical path of the generated models.
To update an existing model:
- Select Tools→Generate Model type to display the generation dialog box.
- Select the Update Existing Model type radio button.
- Select a model from the Select Model list.
- Select or clear the Preserve Modifications check box.
- Click the Detail tab to define options and generation parameters.
- Click the Target Models tab to select the target models of shortcuts in the current model.
- 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.
- Click OK.
If you cleared the Preserve Modifications check box the updated PDM diagram is displayed in the work area.
If you selected the Preserve Modifications check box, the Merge dialog box is displayed 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) 2007. Sybase Inc. All rights reserved.
|
|