Lecture 5 - ER
Lecture 5 - ER
type
Connected to the participating entity types via straight
lines
Note that the relationship type is not shown with an
The possible cardinality ratios for binary relationship types are 1:1, 1:N, N:1,
and M:N
different roles.
For example, SUPERVISION relationships
relationship type
Example:
A DEPENDENT entity is identified by the dependent’s first name,
This is because each employee works for at most one department, and
hence participates in at most one relationship instance in WORKS_FOR,
but a department can have many employees, each with a different start
date.
In both 1:1 and 1:N relationship types, the decision where to place a
relationship attribute—as a relationship type attribute or as an
attribute of a participating entity type—is determined subjectively by
the schema designer.
Rational (IBM) Rational Rose UML Modeling & application generation in C++/JAVA
Resolution Ltd. Xcase Conceptual modeling up to code maintenance
Sybase Enterprise Application Suite Data modeling, business logic modeling
Visio Visio Enterprise Data modeling, design/reengineering Visual Basic/C++