Automatically include new entities

Posts   
 
    
Ian avatar
Ian
User
Posts: 511
Joined: 01-Apr-2005
# Posted on: 29-Dec-2005 01:08:25   

Hi,

Would it be possible to add newly generated entity classes to a currently existing generic project automatically?

At the moment, its a fildy task of 'show all files, refresh, include the three new files, hide files and then close up all the folders. cry

I.

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 29-Dec-2005 06:17:57   

normally what I would do is: 1- Open the LLBLGen Project in the LLBLGen designer 2- Refresh The Catalog 3- Add my new entities 4- Re-Generate the code (All of it, this helps if you have relations between your new entities and your old ones) 5- Open My generated Code projects in the VS and re-build.

I don't know of another automatically possible option

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 29-Dec-2005 09:18:11   

In VS.NET projects, you have to be sure to first close the vs.net solution, then re-generate the code, then reopen the vs.net solution.

Be sure the option 'CleanUpVsNetProjects' is set to true in the preferences. simple_smile As this preference option is inherited in every new project, you have to set it in the project properties as well for existing projects. All new projects will inherit this option.

Frans Bouma | Lead developer LLBLGen Pro