I've got the following business requirements for a scenario:
and I came up with the following UML diagrams to model the relationship:
I was wondering whether I have successfully managed to implement all the relations in the ER model, especially the 1..* relationship. Furthermore, it is my understanding that mandatory relationships cannot be implemented just by using FK/PK so I have to add additional constraints, is that so?
Its seems to be ok. You can use ERWin or DBDesigner to doing your work in a easier way. Consider ON DELETE CASCADE, ON UPDATE CASCADE
, etc in your constraints.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.