EER和UML之间的差异 [英] Differences between EER and UML
问题描述
我已经下载了MySQL工作台,可以创建一个EER图表。
这与UML图有什么区别?
此外,ERD在哪里进入?
我在这里找不到与我在此之后匹配的问题。
谢谢。
$我认为UML图你的意思是:UML类图。 [还有其他UML图表]EER(增强型实体关系)图表模型
用于数据库设计。像类图支持也子类-superclass [specialization和generalization]。 因此,EER图中的实体具有属性不是方法。因为它们只显示纯数据。
实体关系]图是EER的起源。它们来自结构化分析。也用于数据库建模。如何ER成为EER?我认为是因为面向对象的样式炒作。
UML类图
用于面向对象的分析设计
也可用于对数据库建模: em>
[我认为数据库设计的UML配置文件不如ER图]
但在简单的术语中,类是对象实例化的蓝图。 所以类可能有方法 - 函数和属性。软件类肯定有方法,但概念类[用于域建模]可能不。
I'm putting together a visual representation of a database I designed.
I've downloaded MySQL workbench and can create a EER diagram.
What's the difference between this and a UML diagram?
Also, where does a ERD come into this?
I can't find a question on here that matches what I'm after here?
Thanks.
I think by UML diagram you mean : UML Class Diagram. [ there are other UML diagrams also]
EER (Enhanced entity–relationship) Diagram-Model
Used for Database Design. Like class diagrams support also subclass -superclass [specialization and generalization]. So entities in EER diagrams has attributes not methods.Because they show just plain data.
Note: ER [entity–relationship] Diagrams are origin of EER. They are from Structured Analysis. Also used for database modeling.How ER become to EER? I think because of Object Oriented Style Hype.
UML Class Diagrams
Used for Object Oriented Analysis-Design.
Can be used to model databases also : there are UML class profiles for it. [I think UML profiles for Database Designs are NOT good as ER diagrams]
But in simple terms classes are blueprints in which objects instantinated . So classes may have methods-functions as well as attributes.Software classes definitely has methods but conceptual classes[ used for domain modeling] may not.
这篇关于EER和UML之间的差异的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!