简体   繁体   English

概念 model 中的关系(ER 图)

[英]Relationship in conceptual model (ER diagram)

I have a simple and probably.我有一个简单的可能。 banal question.平庸的问题。 I am working on the first, conceptual phase of an entity-relationship diagram.我正在研究实体关系图的第一个概念阶段。

This DABMS will be used by some Managers, that will control (registrate and modify accounts) of customers.该 DABMS 将由一些经理使用,这些经理将控制(注册和修改帐户)客户。

In my diagram I have the two entities "MANAGER" and "CUSTOMER".在我的图中,我有两个实体“经理”和“客户”。 Is it necessary to connect them with a relationship (M:N), to specify that the Managers are those who will manage the customers' account, or this relationship is unnecessary?是否有必要将它们与关系 (M:N) 联系起来,以指定经理是管理客户帐户的人,或者这种关系是不必要的?

to specify that the Managers are those who will manage the customers指定经理是管理客户的人

No. ER diagrams typically show relations that are reflected in your database.不会。ER 图通常显示反映在数据库中的关系。

Example, what would be visible in your ERD例如,您的 ERD 中可以看到什么

  • Each customer has a manager assigned who's responsible for this customer => 1:n - each customer has one manager but one manager can be responsible for multible customers.每个客户都有一个负责该客户的经理=> 1:n - 每个客户都有一个经理,但一个经理可以负责多个客户。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM