Book a Demo

Author Topic: Namespaces code generation VB.NET  (Read 3330 times)

EA_Nj

  • EA User
  • **
  • Posts: 48
  • Karma: +0/-0
    • View Profile
Namespaces code generation VB.NET
« on: October 10, 2002, 07:24:01 am »
Is there a way to generate namespace statements in code generation for VB.NET?

I've generated a whole bunch of classes but Namespace statements are missing from each class. I'd like each class to have a namespace statement at the top.  

Is there a way that I can get this feature?

Thanks

macinnesm

  • EA Novice
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: Namespaces code generation VB.NET
« Reply #1 on: October 11, 2002, 05:43:07 am »
I'm using C#... and namespaces map to packages names.

So if you want the following:

namespace MyRoot.MyApp.BusinessObjects

you would create the following packages:

MyRoot
-MyApp
--BusinessObjects
--<Classes go Here>

I'm not 100% if this works with VB.NET.

Marcus