Click here to Skip to main content
15,891,655 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
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
Updated 21-Feb-13 19:17pm
v2

1 solution

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
 
Share this answer
 
Comments
deva936 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?
aliwpf 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)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900