From e99b5b97d4c11cb8c891e493433bfeb87945baf1 Mon Sep 17 00:00:00 2001 From: MADAVARAM LAYA Date: Wed, 27 Apr 2022 16:36:57 +0530 Subject: [PATCH] Create Design.md --- .../object_oriented_design/database_design/Design.md | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 solutions/object_oriented_design/database_design/Design.md diff --git a/solutions/object_oriented_design/database_design/Design.md b/solutions/object_oriented_design/database_design/Design.md new file mode 100644 index 00000000..a2f674bc --- /dev/null +++ b/solutions/object_oriented_design/database_design/Design.md @@ -0,0 +1,11 @@ +# 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 +1. Identify the entities involved in the database. +2. Identify the attributes for every entity. +3. Identify the relationships between the entities. +4. For every entity develop a class diagram using UML. +5. The class name should be given as name of the entity identified in first step. +6. The attributes of each class should be taken as the attributes identified for the particular entity in second step. +7. The operations can be left empty for every class, as the entities will not be having any operations in database. +8. These classes can be joined using the association relationship in UML, as per the relationships identified in third step.