|
In a very simple system, there may only be one class diagram which normally includes all the classes created in the class repository. However, in large scale enterprise projects, we used to have hundreds of classes if not over a thousand. Each of the developers would only use a selected set of classes for the subsystem(s) he/she is responsible, representing by one or more class diagrams. Thus, one particular class diagram does not include all classes in the class repository. In other words, a particular class diagram is a static view of the subsystem which includes only a selected set of classes it is required. Likewise, a complex system may have more than one ERDs, and each of these ERDs is interlinked with only a selected set of classes in the class repository. With this new feature, now developers can specify which targeted ERD for the newly created class models to be synchronized in the first time, significantly enhanced the flexibility of the coding engineering process for database applications.
Suppose you have a Class Diagram called “orderprocess” and you would like to synchronize it to an Entity Relationship Diagram (ERD) on the first time.
Right click on the Diagram Pane and select “Synchronize to Entity Relationship Diagram.
Select “Create new diagram” and input “Order Process ERD” in Diagram name text box, then, press the “Create” button.
Select synchronization properties.
The Order Process ERD is generated.
Create a new class diagram called “Security Class Diagram” .
Draw The “Security” Class Diagram as following:
Again, synchronize it as a Entity Relationship Diagram by repeating the previous steps:
Create “Security ERD” .
Select synchronization properties.
The Security ERD is generated.

Two pairs of Class Diagrams and Entity Relationship Diagrams:
 |
|
Last Updated on Friday, 17 October 2008 00:48 |