Extended entity classes templates with seperate assemblies

Posts   
 
    
Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 08-Dec-2005 11:36:55   

You do it in 2 steps: 1) generate adapter code, using normal adapter templates/config 2) generate derived entity classes, using derived entity classes config / templates. In this step, you specify a different rootnamespace and a different destination folder.

You add the code in step 2 to a new vs.net project and in that project you reference the generated code of step 1) (the db generic project).

To automate this, you can use the commandline generator (see 'extras' section in the customer area) and call it 2 times in a row in a .cmd file, one for step 1 and one for step2.

Frans Bouma | Lead developer LLBLGen Pro