Problem on update DataLayer & DataLayerDBSpecific

Posts   
 
    
sotiris
User
Posts: 4
Joined: 06-Jul-2007
# Posted on: 06-Aug-2007 23:31:35   

I am developing a .NET web project using VS2005 with SP1 and LLBL Gen Pro v2 Adapter scenario (c#) and SQL 2005 Server Standard Edition. I created a database with 10 tables and generated the DataLayer & DataLayerDBSpecific without any problem. But when i decided to delete one of my tables from the database and regenerated the LLBL project, even if it asked me to reload the DataLayer & DataLayerDBSpecific project from VS2005 enviroment the corresponding Entity class is still there...eg Myproject.DataLayer\DatabaseGeneric\EntityClasses\FloorEntity.cs where the Floor table has been deleted from my database.

Can anyone advice me on that. Thanks very much for your time in advance

arschr
User
Posts: 894
Joined: 14-Dec-2003
# Posted on: 07-Aug-2007 01:45:27   

There is a setting in the project options (via designer) on cleaning up projects. I think this is what you need to set. Also make sure the files aren't read only.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 07-Aug-2007 05:03:09   

For further explanation read: **LLBLGenPro Help - Using designer - Preferences and Project properties - Project Properties - Task performers specific settings - CleanUpVsNetProjects **

LLBLGenPro wrote:

Note: Use with care as an old VS.NET project may contain references to files which aren't marked with LLBLGen Pro specific XML elements/attributes, so all file references are removed, which thus also means that references to files you've added yourself to the project are removed as well, which forces you to re-add the references to those files to the VS.NET project manually

David Elizondo | LLBLGen Support Team
sotiris
User
Posts: 4
Joined: 06-Jul-2007
# Posted on: 07-Aug-2007 09:56:42   

Arschr and Daelmo thanks indeed. I didn't set the value of CleanUpVsNetProjects to true.