Modifing the Extended Entity Templates

Posts   
 
    
Dmeierotto
User
Posts: 10
Joined: 30-Jul-2004
# Posted on: 28-Jul-2005 17:43:04   

I am updating the Extended Entity Templates so that the Extended Classes and Factories are placed in a Separate directory outside of the DatabaseGeneric sub folder.

I also do not want the Extended Entities and Classes included in the DB Generic Project.

I am doing this to save myself a few steps each time I do a new Gen, because I'd like to put these objects in a separate assembly.

Gen'ing the extended classes into a new dir under the root was no problem. But, where do I tell the tool to not include these files in the DB Generic project?

Thanks!

-Dan

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39786
Joined: 17-Aug-2003
# Posted on: 29-Jul-2005 10:20:13   

In the file AdapterScenarioFullSafe2003SubClasses.config, which comes with the extended entity templates for adapter, and which drives the class generation, you have to create a new TaskGroup, like the "Database Specific Project tasks" taskgroup.

In there, you place the extended class generation tasks (move them from the other group). Remove the tasks you don't need, though keep the VS.NET project task, which generates a vs.net project for you if it's not there. You then get your extended classes in a separate vs.net project. simple_smile

Frans Bouma | Lead developer LLBLGen Pro