Author Topic: Primary key, unique constraint from table  (Read 2491 times)

E.J. Spaans

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Primary key, unique constraint from table
« on: April 08, 2008, 01:46:24 am »
Hi,

I'm using Enterprise Architect 7.1 Prof edition and I'm trying to retrieve table metadata from a Data Model using automation. Retrieving columns, their datatype, length (if applicable) works straightforward (using documentation and code samples). But I can't find out how to retrieve metadata (when using automation) like whether the column is a primary key, whether an unique constraint applies and so on. Can anybody point me out how to do this? (Did a quick search on this forum but did not find the info...)
Thanks in advance,
EJ