Differences between EER and UML

I am collecting a visual representation of the database I created.

I downloaded MySQL Workbench and can create an EER diagram.

What is the difference between this and the UML diagram?

Also, where does ERD get into this?

I canโ€™t find a question here that matches what I did here?

Thanks.

0
source share
1 answer

I think by UML diagram you mean: UML Class Diagram. [there are other UML diagrams]

EER (Enhanced Entity Binding) Chart Model

Used for database design . Like class diagrams, a subclass superclass [specialization and generalization] is also supported. Thus, objects in EER diagrams have attributes not methods . Provided that they display only simple data .

Note: ER [entity-relationship] Charts are the source of EER. They are from structural analysis. Also used to model the database. How does ER become for EER? I think because of Hype's object oriented style.

UML Class Diagrams

Used for object-oriented analysis-design.

It can also be used to model databases: there are UML class profiles for it. [I think UML profiles for database projects are NOT good as ER diagrams]

But in simple words, classes are drawings in which objects were created. Thus, classes can have function methods as well as attributes . Software classes definitely have methods, but conceptual classes [used for domain modeling] cannot.

+2
source

Source: https://habr.com/ru/post/1485664/


All Articles