Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: EA_Nj on October 10, 2002, 07:24:01 am

Title: Namespaces code generation VB.NET
Post by: EA_Nj 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
Title: Re: Namespaces code generation VB.NET
Post by: macinnesm 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