开发者

Delete not showing up on other DomainContext instance

I have two instances of the same DomainContext. When I add an e开发者_如何学运维ntity to one, submit changes, then do a reload on the other, the new entity shows up in the collection. However, the same doesn't happen with Delete. The deleted object is still in the second DomainContext's EntitySet even after calling Load again. Whats going on?


I followed this post and it fixed the problem. Basically what is required is to remove any entities from the domain context that the load operation does not load.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜