Entity Relationship Model
Entity Relationship Model:
One of the most useful and attractive feature of E-R model is that it provides a graphical method for representing the logical structure of the database. For this purpose E-R Diagram are used. It means that E-R Model is expressed as an E-R diagram, which is graphical representation of an Entity Relation model. Entity Relation Model is one of the common type of model represents the entities of database through different diagrams. These diagram plays an important role in entity relationship model.
The Entity-Relationship Diagram (ERD) represents the relationship of entities graphically. The type of relationship between the entities is also represented in the E-R diagram. Basically, E-R diagrams are the design tools and documentation for the system.
Different symbols are used in E-R Diagram
The rectangular box is used to represent the entity
The double line rectangular box is used to represent weak entity.
The rectangular box with rounded edges is used to represent IS-A relation in entity relationship model.
A simple attribute is represented by placing its name in ellipse shape in entity relationship model.
A multi-valued attribute is indicted by double line ellipse.
A relationship between entities is indicated by a diamond shape.