Chapter 4 Models
You open, save, close, and delete models using the File menu or directly in the Browser.
To open a model not in the present workspace:
By default, when you open a workspace, the models linked to workspace are closed, in order to save working memory.
To open a model which is closed in the workspace:
You can open a model as read-only when you do not need to modify its content.
To open a model as read-only:
When a model contains unsaved changes, an asterisk is appended to its name in the Browser.
When you save a model or a multi-model report, PowerDesigner automatically assigns to the file a unique identifying number called GUID (Global Unique ID), and creates a backup copy of your file with the same identifying number. The GUID is used:
The following formats are available when you save a model:
Format | Description |
---|---|
XML | [default] The saving and loading time is longer (1.5x) than binary, and the file size is bigger (2.5x) than binary.
You can open and modify the contents of an XML model file. XML is recommended for small models. |
Binary | Saving and loading time is shorter than XML, and the file size is smaller than XML
Recommended for big models. |
To save a model:
You can create a backup version of a model with the same GUID as the original.
To save a model as a new file with the same GUID:
You can save the model as a new model with a new GUID. This allows you to develop two separate models in parallel, starting from the same set of model objects.
Note that when you consolidate the new model in the Repository, the Update mode will not be available. External shortcuts located in the new model may also not work properly since the identity of the model has changed.
To save a model as a new file with a new GUID:
You can save the workspace and all the models it contains with a single click.
To save all models:
You can rename a model in the Browser.
To rename a model in the Browser:
When you close a model you free up working memory, but the model remains available in the workspace to be re-opened:
To close a model:
When you delete a model, you detach it from the current workspace, but do not delete the corresponding file from your disk.
To delete a model:
Copyright (C) 2008. Sybase Inc. All rights reserved. |