2. What is Mapping Cardinality?
Mapping cardinality or cardinality ratios express the
number of entities to switch another entity can be
associated via a relationship set.
Mapping Cardinality 2/9
3. Types of Mapping Cardinality
For a binary relationship set the mapping cardinality
must be one of the following types:
1.One to one
2.One to many
3.Many to one
4.Many to many
Mapping Cardinality 3/9
4. Mapping Cardinality
Mapping Cardinality
One-to-one relationship:
An entity in A is associated with at most (only) one entity in
B is associated with at most (only) one entity in A.
5. Mapping Cardinality
Mapping Cardinality
One-to-Many relationship:
An entity in A is associated with any number (zero or more) of entities
in Band an entity in B is associated with at most one (only) entity in A.
6. Mapping Cardinality
Mapping Cardinality
Many-to-one relationship:
An entity in A is associated with at most (only) one entity
in B and an entity in B is associated with any number (zero
or more) of entities in A.
7. Mapping Cardinality
Mapping Cardinality 7/9
Many-to-many relationship:
An entity in A is associated with any number (zero or more)
of entities in Band an entity in B is associated with any
number (zero or more) of entities in A.
8. If you have any question, feel free
to ask arafatpub@gmail.com
or
Visit:
techbeginnerstpoint.blogspot.com