Book a Demo

Author Topic: Data Modeling  (Read 7075 times)

Viking

  • EA User
  • **
  • Posts: 478
  • Karma: +2/-2
    • View Profile
Data Modeling
« on: May 15, 2017, 02:49:49 am »
Hi together,
It seams to me that Toolbox > Data Modeling has change since I used it the last time.
(1) If I want to add properties with F9, it opens a database-connection. Can I turn this off?
(2) If I want to add columns, the type has to be a VarChar. Is that a bug or a feature?
(3) The documentation says, that there is a diagram available for this notation "Click on Extended > Click on Data Modeling". I cannot find this. How can I assign this diagram type to my diagram?
(4) Normally I use Chen, but prefer Data Modeling in the meantime. Am I wrong using this notation for modelling databases?
Many thanks in advance, V.

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Data Modeling
« Reply #1 on: May 15, 2017, 07:45:25 am »
This is really a database model or at a pinch a physical data model.  The answer to your question all depends on what sort of data model you want to produce.  You can easily produce a conceptual data model using a class diagram.

KP

  • EA Administrator
  • EA Expert
  • *****
  • Posts: 2919
  • Karma: +55/-3
    • View Profile
Re: Data Modeling
« Reply #2 on: May 15, 2017, 09:53:15 am »
1) When you create a table, before you can create columns you need to tell EA what DBMS you are modelling. EA is not opening a database connection, it's just trying to find out what you're doing.
2) The list of available types will depend on the DBMS you are modelling. That's why you need to let EA know.
3) Right-click a package in the Project Browser, Add Diagram, Select From: Extended, Diagram Types: Data Modeling. If Extended isn't available, open the MDG Technologies dialog and enable "Core Extensions".
The Sparx Team
[email protected]

Viking

  • EA User
  • **
  • Posts: 478
  • Karma: +2/-2
    • View Profile
Re: Data Modeling
« Reply #3 on: May 15, 2017, 09:12:36 pm »
This is really a database model or at a pinch a physical data model.  The answer to your question all depends on what sort of data model you want to produce.  You can easily produce a conceptual data model using a class diagram.
Yes, at the beginning I wanted to switch to UML class model. Than I found Data Modeling and liked the elements like Table and Function. Actually it is based on UML Class Diagram. What would you prefer, Data Modeling or UML Class and why?

Viking

  • EA User
  • **
  • Posts: 478
  • Karma: +2/-2
    • View Profile
Re: Data Modeling
« Reply #4 on: May 15, 2017, 09:13:39 pm »
1) When you create a table, before you can create columns you need to tell EA what DBMS you are modelling. EA is not opening a database connection, it's just trying to find out what you're doing.
2) The list of available types will depend on the DBMS you are modelling. That's why you need to let EA know.
3) Right-click a package in the Project Browser, Add Diagram, Select From: Extended, Diagram Types: Data Modeling. If Extended isn't available, open the MDG Technologies dialog and enable "Core Extensions".
Thank you very much. Very helpful.

Glassboy

  • EA Practitioner
  • ***
  • Posts: 1367
  • Karma: +112/-75
    • View Profile
Re: Data Modeling
« Reply #5 on: May 16, 2017, 07:04:48 am »
This is really a database model or at a pinch a physical data model.  The answer to your question all depends on what sort of data model you want to produce.  You can easily produce a conceptual data model using a class diagram.
Yes, at the beginning I wanted to switch to UML class model. Than I found Data Modeling and liked the elements like Table and Function. Actually it is based on UML Class Diagram. What would you prefer, Data Modeling or UML Class and why?

There are multiple levels to data modelling; conceptual, logical and physical.  Class diagrams work for conceptual and logical.  The data  modelling profile works for physical.