Book a Demo

Author Topic: generating Using statements in visual Studio  (Read 3077 times)

rhenson

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
generating Using statements in visual Studio
« on: October 03, 2005, 01:12:45 pm »
Hi,
We are generating base class files using EA and MDG into Visual Studio/C#.  For dateTime attributes we are having to define them as System.DateTime - is it possible to have the using System; defined in the class generation so that fully qualified names are not required per attribute?
Thanks for any help.

Eve

  • EA Administrator
  • EA Guru
  • *****
  • Posts: 8110
  • Karma: +119/-20
    • View Profile
Re: generating Using statements in visual Studio
« Reply #1 on: October 03, 2005, 03:57:55 pm »
I would create a package called System, and in that package create the class DateTime.

If you do that, when you use DateTime, EA will generate the correct using statements when doing an initial generation of that class.

Simon

rhenson

  • EA Novice
  • *
  • Posts: 6
  • Karma: +0/-0
    • View Profile
Re: generating Using statements in visual Studio
« Reply #2 on: October 07, 2005, 08:48:59 am »
Cool - Thanks!