Underscores in tablename on catalog refresh

Posts   
 
    
Arif
User
Posts: 29
Joined: 01-Dec-2005
# Posted on: 07-Feb-2006 22:23:28   

I have a view named Order. Its mapped to an Entity named Order. I have the property RemoveUnderscoresFromElementName set to True in the Project Properties (as well as in the Designer Preferences). It is still replacing the entity name to Order each time I do a catalog refresh. Something I am missing or is this a bug?

Ver: 1.0.2005.1 (Nov 30th, 2005).

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39951
Joined: 17-Aug-2003
# Posted on: 08-Feb-2006 00:06:05   

You have a typed view named Order_, and an entity named Order? It's a bit unclear because you say you have a view mapped on an entity...

Frans Bouma | Lead developer LLBLGen Pro
Arif
User
Posts: 29
Joined: 01-Dec-2005
# Posted on: 08-Feb-2006 03:28:29   

I have an Entity named Order mapped to a DB view named Order_.

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 08-Feb-2006 08:10:34   

It might be that this name has already been used so the designer adds an underscore when you try to use it again.

If not please state your Designer version (Help -> About).

Arif
User
Posts: 29
Joined: 01-Dec-2005
# Posted on: 08-Feb-2006 12:29:18   

Thats not the case. I manually rename it after each catalog refresh.

Ver: 1.0.2005.1 (Nov 30th, 2005).

Otis avatar
Otis
LLBLGen Pro Team
Posts: 39951
Joined: 17-Aug-2003
# Posted on: 08-Feb-2006 13:47:03   

Do you by any change have the preference 'SyncMappedElementNamesAfterRefresh' set to true? if so, set it to false.

Frans Bouma | Lead developer LLBLGen Pro