Author Topic: Data Model - DTR  (Read 2855 times)

lnfloyd

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
    • View Profile
Data Model - DTR
« on: March 16, 2010, 01:39:17 am »
Hy fellows, good morning.

I'm from Brazil and the company that hired me use Enterprise Architect.

First of all, sorry by any mistake on the english writing (bad pratice).

We are using this case tool to data model.

In our data model, We've some domain tables that needs to have related tables that stores historical data (so, their attributesstructure are, basicly, equals).

In EA, I couldn't copy the table in the same diagram and, to improve de productivity.

I mind to do this and, after that, add the new attributes, set nullable property to the attributes that are equals in the domain and historical data table, etc.

How can I do this?

If it doesn't possible, please, take this as an advice to an upgrade on this case tool.

Thanks.

Paolo F Cantoni

  • EA Guru
  • *****
  • Posts: 8607
  • Karma: +257/-129
  • Inconsistently correct systems DON'T EXIST!
    • View Profile
Re: Data Model - DTR
« Reply #1 on: March 16, 2010, 10:23:14 am »
Hi Infloyd,

If I understand you correctly, you have a table which has a historical "Child" that has very similar set of columns.

You are developing the model by hand (that is, you are NOT reverse engineering from an existing database).

You want to quickly create the child set of attributes from the "parent table".

Here's how you do it...

Create the the basic table.  Populate the columns, indexes etc.
Create an empty Child (historical table) on the diagram.
Go to the browser, select the Columns and indexes etc you want to copy.
Drag them onto the empty table shape on the diagram.
A copy of the selected features will be created in the Child table.

This works, because EA will let you drag (copy) from the browser to the diagram.

HTH,
Paolo
Inconsistently correct systems DON'T EXIST!
... Therefore, aim for consistency; in the expectation of achieving correctness....
-Semantica-
Helsinki Principle Rules!