UML概念图和ERD之间的区别? [英] Differences between a conceptual UML class diagram and an ERD?

查看:233
本文介绍了UML概念图和ERD之间的区别?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我创建一个概念性的类图,以便每个类都捕获名称和属性,而不捕获操作,那么我是否基本上没有创建否则将被视为ERD的内容?我试图了解我所描述的创建概念类图与将其称为ERD之间的区别是什么?如果这仍然是两种不同的动物,有人可以解释一下这些区别是什么吗?

If I create a conceptual class diagram such that each class captures 'name' and 'attributes' but not 'operations', have I not basically created what would be otherwise considered an ERD? I'm trying to gain an understanding of what the differences are between creating a conceptual class diagram as I have described versus calling it a ERD? If these are still two different animals, can somebody please explain what the differences are?

推荐答案

如果两者的表现力差异不大(如果我们只关注属性,类和关联部分)您使用扩展的实体关系图(时下最常见的情况)

There´s little difference in the expressiveness of both (if we just focus on the attributes, classes and associations part) if you use Extended Entity Relationship diagrams (the most common case nowadays)

是的,它们在图形级别看起来非常不同,因为它们对元素使用了不同的符号,但语义非常相似。它们都允许继承(同样,我在谈论EER),n元关联,关联类,...

True, they look very different at the graphical level since they use different symbols for the elements but the "semantics" are quite similar. They both allow inheritance (again, I´m talking about EER), n-ary associations, association classes, ...

这篇关于UML概念图和ERD之间的区别?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆