Adding more tables

Posts   
 
    
nw
User
Posts: 42
Joined: 09-Jun-2010
# Posted on: 17-Jun-2010 04:17:48   

Hi,

I have created a new project and have added a couple of tables which appears in the Catalog Explorer and have generated the entities/code.

How do I then add more tables in the Catalog Explorer?

I am using LLBLGen Pro v3.0.

Thanks.

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 17-Jun-2010 09:09:30   

In the Catalog Explorer, right-click on the catalog and select "Refresh Relational Model Data From Database", follow the wizard, and make sure the tables you need to ad are selected "checked", in the "Specify Elements to Retrieve" step/window.

nw
User
Posts: 42
Joined: 09-Jun-2010
# Posted on: 17-Jun-2010 10:09:47   

Thanks. Didn't realise you have to save the Update script to get to the next part of adding more tables. If I saved the Update Script and then remove the file, how do I regenerate it again? How does the Designer keep track of whether the Update Script has been generated or not?

I am guessing the Update Script is for me to manually update the database to match the model. Is that correct?

Thank you.

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 17-Jun-2010 10:30:21   

I am guessing the Update Script is for me to manually update the database to match the model. Is that correct?

Yes.

Once the update Script is generated, it's your role to run it to keep things in sync. And the system doen't track this for you.

nw
User
Posts: 42
Joined: 09-Jun-2010
# Posted on: 17-Jun-2010 10:38:10   

Thanks!