开发者

Entity model won't refresh in code after a change

开发者 https://www.devze.com 2023-02-03 14:52 出处:网络
I have an entity model (EF4) in Lazy mode and I\'m updating/presenting it through a windows form . the database can also be updated from stored procedures by a different application.

I have an entity model (EF4) in Lazy mode and I'm updating/presenting it through a windows form . the database can also be updated from stored procedures by a different application.

I'm calling to the Refresh method with RefreshMode.StoreWins + the object that was changed but I don't see any change. In fact, 开发者_JAVA技巧with an sql profiler on, I don't see any DB access after the refresh.

Thanks Avi

0

精彩评论

暂无评论...
验证码 换一张
取 消