You're amazing! - Renaming tables

Posts   
 
    
NickD
User
Posts: 224
Joined: 31-Jan-2005
# Posted on: 20-Oct-2005 18:57:21   

Frans - you blew me away today because when I initially created my database, I decided to try naming them all hungarian case table names, but later decided I hated it. So, I went through and renamed all with underscores. I was dreading all the errors I would get when I refreshed the catalog - but was pleasantly surprised. It actually figured out that I had renamed the entities and remapped things accordingly! Brilliant! Do you stored the obj_id somehow and map to that?

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39933
Joined: 17-Aug-2003
# Posted on: 20-Oct-2005 21:20:31   

During a refresh it tries to find back the tables based on PK and field layout. simple_smile This normally does the trick simple_smile . It sometimes can go wrong if there are two tables with equal layout and same names of fields. It then might pick the wrong table. In 1.0.2005.1 you can opt for a dialog to manually correct the mappings simple_smile

Frans Bouma | Lead developer LLBLGen Pro
Jeff M
User
Posts: 250
Joined: 04-Aug-2004
# Posted on: 21-Oct-2005 19:35:28   

NickD wrote:

...Brilliant!...

Nick: You're not only now figuring that out... are you? simple_smile

Jeff