What's the difference between identifying and non-identifying relationships?

前端 未结 15 1650
迷失自我
迷失自我 2020-11-22 12:02

I haven\'t been able to fully grasp the differences. Can you describe both concepts and use real world examples?

15条回答
  •  情歌与酒
    2020-11-22 12:16

    An Identifying relationship specifies that a child object cannot exist without the parent object

    Non-identifying relationships specifies a regular association between objects, 1:1 or 1:n cardinality.

    Non-identifying relationships can be specified as optional where a parent is not required or mandatory where a parent is required by setting the parent table cardinality...

提交回复
热议问题