Why Don't Entities Refresh After Catalog Refresh?

Posts   
 
    
Emmanuel
User
Posts: 167
Joined: 13-Jan-2006
# Posted on: 17-Jun-2015 02:08:56   

(v4.2 Final (June 9 2015), Sql Server 10.5, EF v6)

I've went to my database and renamed some FK fields and then refreshed the data model in the Catalog Explorer.

I expected the entity field names, relationships and navigators to be refreshed with the new names in the Project Explorer but they aren't. I have to delete and re-add the entity to reflect the changes.

Is this how this is supposed to work? What if I had some renamed fields in my entities? I'd lose those. I must do doing something wrong. Help.

daelmo avatar
daelmo
Support Team
Posts: 8245
Joined: 28-Nov-2005
# Posted on: 17-Jun-2015 08:12:22   

What is the value for setting 'Sync mapped elements after refresh'? Check Project Properties:[http://www.llblgen.com/documentation/4.2/Designer/Functionality%20Reference/ProjectSettings.htm#databasefirstcatalogrefresher](http://www.llblgen.com/documentation/4.2/Designer/Functionality%20Reference/ProjectSettings.htm#databasefirstcatalogrefresher)

David Elizondo | LLBLGen Support Team
Emmanuel
User
Posts: 167
Joined: 13-Jan-2006
# Posted on: 17-Jun-2015 15:35:07   

daelmo wrote:

What is the value for setting 'Sync mapped elements after refresh'? Check Project Properties:[http://www.llblgen.com/documentation/4.2/Designer/Functionality%20Reference/ProjectSettings.htm#databasefirstcatalogrefresher](http://www.llblgen.com/documentation/4.2/Designer/Functionality%20Reference/ProjectSettings.htm#databasefirstcatalogrefresher)

It is set to Default. In fact, all the Catalog Refresher settings are set to Default.

Walaa avatar
Walaa
Support Team
Posts: 14950
Joined: 21-Aug-2005
# Posted on: 18-Jun-2015 02:56:24   

Default here means it will use/copy the value in the Designer Preferences.

So please go to the preferences and make sure you check this setting. Also there is another one just underneath it for elements you have renamed in the Project Explorer... whether you need them to be synced too to not, this means it will overwrite the renamed value.