What's the difference in notation for total participation and recursive relation?

后端 未结 3 1596
孤城傲影
孤城傲影 2021-01-18 01:31

Does the double line in the following ER diagrams means total participation or recursive relation?

\"enter

3条回答
  •  情书的邮戳
    2021-01-18 02:10

    double line : Used to represent total participation of an entity in a relationship set.

    A recursive relationship is one in which the same entity participates more than once in the relationship.

    recursive relationship example : Suppose one team is assigned the task of supervising the other teams. This supervisor team makes sure that each team records its portion of the data. The supervision relationship is a recursive relationship because the same entity, a particular team, participates more than once in the relationship, as a supervisor and as a supervisee. To draw the situation, we label the two lines between team and supervision with the two possible roles

    by this definitions all three above are total participation

    enter image description here

提交回复
热议问题