Search code examples
umlentityentity-relationshipclass-diagramerd

Entity Relationship Diagram or Class Diagrams


How to know when should I use Entity Relationship Diagram or Class Diagrams, and which one of them is easier to learn/use?


Solution

  • ER diagrams map more directly to a relational database. UML diagrams can represent a more abstract view that requires interpretation, but represents the same thing, assuming you turn off operations and understand how to flatten generalizations.

    ER diagrams may be easier for you to learn.