What are the principles behind, and benefits of, the “party model”?

前端 未结 6 2044
说谎
说谎 2020-11-29 01:33

The \"party model\" is a \"pattern\" for relational database design. At least part of it involves finding commonality between many entities, such as Customer, Employee, Part

6条回答
  •  無奈伤痛
    2020-11-29 02:03

    as a simple talk from my understanding: Party modeling gives the flexibility and needs more effort (like T-sql join and ...) to be implemented.
    I also wanna point that, "using Party modeling (serialization/generalization) gives you the ability to have FK-Relation to other tables". for example: think of different types of users (admin, user, ...) which generalized into User table, and you can have UserID in your Authorization table.

提交回复
热议问题