Académique Documents
Professionnel Documents
Culture Documents
1
3 ER Model Concepts
. Types of Attributes
2
. Composite: The attribute may be composed of several
components; for example Address(Apt#, House#, Street,
City, State, ZipCode, Country) or Name(FirstName,
MiddleName, LastName). Composition may form a
hierarchy where some components are themselves
composite.
3
. Entities with the same attributes are grouped into an
entity type. A database will store groups of entities that
are similar. For example, the EMPLOYEE entity type or the
PROJECT entity type.
. An entity type may have more than one key. For example,
the CAR entity type may have two keys:
VehicleIdentificationNumber and VehicleRegistrationNumber
(Number, State).
4
the MANAGES relationship type in which EMPLOYEEs and
DEPARTMENTs participate.
. More than one relationship type can exist with the same
participating entity types; for example, MANAGES and
WORKS_FOR are distinct relationships between
EMPLOYEE and DEPARTMENT participate.
5
. There are two types of relationship constraints that occur
frequently.
6
. Specifies that each entity e in E participates at least
min and at most max relationship instances in R.
. Examples
7
. ER Diagram
. ER notations
. Example
8
EMPLOYEE that the dependent is related to.
DEPENDENT is a weak entity type with EMPLOYEE as
its identifying entity type via the identifying relationship
type DEPENDENT_OF.
9
system and their interaction, etc.
. Class Diagram
. Use case diagram
. Activity diagram
. Implementation diagram
10