Book a Demo

Author Topic: XMI and determining if a column allows nulls.  (Read 2589 times)

scyoung

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
XMI and determining if a column allows nulls.
« on: November 05, 2003, 12:04:31 am »
Hi Guys,

I am busy writing an XSL style sheet that will generate .Net code from an XMI document.  We have a legacy database that we need to encapsulate in objects.

I have imported the database into EA to get a DataModel.  I then export this package to an XMI document that I run an XSL transform against.  

The problem I am having is that we have nullable types to support nulls in our object model.  So I need to determine if a column is nullable or not.  I can't seem to find out where in the XMI that info is stored.  Any ideas?

Thanks,
Stephen