Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Design analysis
Hi,
i am more familiar with ERD
is erd merely for Database design?
are entities in ERD related to Classes in class diagrams?
entities in ERD mean what in Class diagram?
 
are these two not related to each other when designing?
 
please explain me
and thanks
Posted 21-Feb-13 5:15am
deva936399
Edited 21-Feb-13 20:17pm
v2

1 solution

Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Hi.Generally for designing a DataBase you need three Steps:
 
1-Create Conceptual Data Model like ERD:
Conceptual schema is a permanent description of the
database requirements.
 
2-Create Logical Data Model(Relational,Normal Form):
The first step in building the logical model is to sit down and create the
model from the requirements.Once the relationships and dependencies amongst the various pieces of information have been determined, it is possible to arrange the data into a logical structure which can then be mapped into the storage objects supported by the database management system. In the case of relational databases the storage objects are tables which store data in rows and columns.
 
3-Create Physical Model:
A physical model is made up of the tables and other physical objects of your RDBMS.
 
Now we consider Class Diagram:
A class diagram describes the types of objects in the system and the various kinds of static relationships that exist among them. Class diagrams also show the properties and operations of a class and the constraints that apply to the way objects are connected.
 
for detemining Entities in ERD you must first search the Nouns.for determining classes in Class Diagram you must act similarly.
i think entity in ERD are the same Classes in class diagram.
i hope my idea help you.
Good luck
  Permalink  
Comments
deva936 at 22-Feb-13 5:16am
   
thank u for your explanation since i've been waiting for this.
 
so are you saying that all entities are classes in class diagram? can i take that?
and is it possible that there are more classes than entities for the same system?
ali rad at 22-Feb-13 7:56am
   
maybe.you must consider that.after you create classes based on Nouns.consider your Model is complete or not?

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
0 OriginalGriff 7,903
1 Sergey Alexandrovich Kryukov 7,142
2 DamithSL 5,604
3 Manas Bhardwaj 4,986
4 Maciej Los 4,820


Advertise | Privacy | Mobile
Web01 | 2.8.1411023.1 | Last Updated 22 Feb 2013
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100