The Camtasia Studio video content presented here requires a more recent version of the Adobe Flash Player. If you are you using a browser with JavaScript disabled please enable it now. Otherwise, please update your version of the free Flash Player by downloading here.

Drawing class diagram

  1. Click ORM-Persistable Class on the diagram toolbar and drag it on the diagram pane
  2. Name the newly created ORM-Persistable Class as "Farm"
  3. Right click on the ORM-Persistable Class and select Add> Attribute
  4. Type "name: String" and "address: String" in the attribute
  5. Point on ORM-Persistable Class, select One-to-Many Bi-directional Association -> Class and drag it to the desired place
  6. Name the newly created ORM-Persistable Class as "Field"
  7. Right Click on the Field ORM-Persistable class, select Add> Attribute and fill in the attribute

Synchronize from class diagram to entity relationship diagram

  1. Right click on the diagram pane and select Synchronize to Entity Relationship Diagram
  2. Fill "Farm Physical Model" as Diagram name in Select diagram for synchronize dialog box and then click Create
  3. Click OK in Synchronize to Entity Relationship Diagram dialog box
  4. Review the ERD in Diagram Overview

Synchronize from entity relationship diagram to class diagram

  1. Point on Field ERD, select One-to-Many Relationship -> Entity and drag it to the desired place
  2. Name the newly created ERD as "Weeding"
  3. Right click on Weeding ERD and select New Column
  4. Type "date:date" and "harm:varchar" in the new created columns respectively
  5. Right click on the space and select Synchronize to Class Diagram
  6. Click OK in the pop-up Synchronize to Class Diagram dialog box