Topic:
Mapping Cardinality
Mapping Cardinality
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
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
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.
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.
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.
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.
If you have any question, feel free
to ask arafatpub@gmail.com
or
Visit:
techbeginnerstpoint.blogspot.com
Thank You
9/9
Thank You
9/9

Mapping cardinalities

  • 1.
  • 2.
    What is MappingCardinality?  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 MappingCardinality  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 Cardinality7/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 haveany question, feel free to ask arafatpub@gmail.com or Visit: techbeginnerstpoint.blogspot.com
  • 9.
  • 10.

Editor's Notes

  • #2 <number>