Refresh a single / selected table

Posts   
 
    
Darwin avatar
Darwin
User
Posts: 38
Joined: 12-Apr-2005
# Posted on: 10-Jun-2005 18:05:52   

I've ALTERed a table in my database and now I want to refresh that individual table. I couldn't find a way to do a selective refresh so I deleted the entity from the project and re-added it with the "Add New Entities Mapped on Tables from Catalog" option. The new entity retains the structure of the old entity, even though the table in SQL is not the same.

I ended up (because I had no time to wait) refreshing the entire project and deleting the 50 or so entities I did not want in the project. I hope iut didn't change the name of fields I had renamed before refreshing.... that would create a boatload of work...

I have several services, which exist in different namespaces, and have thier own data structures, that I put together (in different mixtures) to make different solutions. I could maintain a seperate database for each of my generic services, but I would still have the core business services (non-generic) project that can only exist in conjunction (in the same database) with the generic services. So I never (or rarely) want an entire database as part of a project. Is there some way to do a partial refresh?

Thanks, Darwin

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 10-Jun-2005 18:36:17   

You refresh the 'catalog' information. This then migrates your entities to the new catalog information. This can't be done per table, just per catalog.

I'm unsure what you wanted to accomplish... why didn't you just refresh the catalog? It would have updated your entity with the new table information...

Frans Bouma | Lead developer LLBLGen Pro