Namespace Generation

Posts   
 
    
bjacobs
User
Posts: 73
Joined: 20-Aug-2008
# Posted on: 01-Sep-2011 20:12:55   

Is it possible to control the generation of the namespace other than the root namespace?

I have v2.6 and am in the process of upgrading to 3.1.

So we want the directory structure of the project to match the generated namespace.

Ex: Project Directory is DataBaseGeneric\EntityClasses

so the namespace would be ProjectName.DataBaseGeneric.EntityClasses.

Thanks,

Billy Jacobs

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 01-Sep-2011 22:40:03   

It's possible if you set the GroupUsage to AsSeparateProjects. But that generates different projects and add the groups as sub namespaces, it's not based on the Folders.

David Elizondo | LLBLGen Support Team
bjacobs
User
Posts: 73
Joined: 20-Aug-2008
# Posted on: 02-Sep-2011 16:54:04   

I just edited all of the code generation templates and it solved my problem.

Thanks