![]() 39
b. One-to-Many Relationships
Each property for rent i
overseen in zero or one
m
ember of staff
Each mem ber of staff
overseen zero or m
ore
properties for rent
Overseen
Staff
Prope rtyForRen t
StaffNo
propertyNo
0..
0..
Gambar 2.7 Contoh One-to-Many Relationships
(Conolly dan Begg 2005 :359)
c.
Many-to-Many Relationships
Each property for rent
i
advertised in zero or
newspaper
Each newspaper
advertise
one...properties to rent
Advetise
Ne ws paper
ne ws paperNam
e
1..*
1..*
Prope rtyForRe
nt
propertyNo
Gambar 2.8 Contoh Many-to-Many Relationships
(Conolly dan Begg, 2005 :360)
|