Directing Entity Group generated code to seperate folders

Posts   
 
    
llfox
User
Posts: 2
Joined: 10-Jun-2011
# Posted on: 10-Jun-2011 15:34:30   

Hi,

I am currently evaluating LLBLGen for generating NHibernate mappings. The target database contains about 200 tables.

I therefore have my entities split into several logical Groups, such as Customer, Product, Order etc.

I would like to be able to generate the mappings and entities into sub-folders that reflect the Group names.

eg

Product mapping files are generated into a 'Product' sub-folder, under the namspace ProjectName.Entities.Product

Customer mapping files are generated into a 'Customer' sub-folder, under the namspace ProjectName.Entities.Customer

Is this possible.

Thanks

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 11-Jun-2011 00:04:47   

The Group Usage only supports two modes: As Separate Projects (generates different folders and different projects) and As Visual Separation (default, just use groups to organize your entities).

So, you can use As Separate Projects but that would generate different VSNet projects as well. This is what is supported.

David Elizondo | LLBLGen Support Team