797 B
797 B
Design a database in UML without using ER diagram
The database can be designed using the Class diagram in UML, instead of the ER diagram.
Approach
- Identify the entities involved in the database.
- Identify the attributes for every entity.
- Identify the relationships between the entities.
- For every entity develop a class diagram using UML.
- The class name should be given as name of the entity identified in first step.
- The attributes of each class should be taken as the attributes identified for the particular entity in second step.
- The operations can be left empty for every class, as the entities will not be having any operations in database.
- These classes can be joined using the association relationship in UML, as per the relationships identified in third step.