Author Topic: primary key property in data model  (Read 4137 times)

Paule

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
primary key property in data model
« on: May 10, 2004, 06:04:16 am »

Looking at the Object model in VB I can't figure how to retrieve the fact that an attribute of a table(element) has been marked as a primary key and/or is not NULL.

The report generated out of EA does reflect those properties; the sample app, however, does not when generating 'Elements' and 'Attributes' document.




Bruno.Cossi

  • EA User
  • **
  • Posts: 803
  • Karma: +0/-0
    • View Profile
Re: primary key property in data model
« Reply #1 on: May 10, 2004, 10:35:00 pm »
Hi,

tables are represented by classes stereotypes as <<table>>. Primary Key is then modelled as a METHOD on the Class.

Bruno