开发者

Entity model won't refresh in code after a change

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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜