开发者

How to refresh entity instance with domain service?

I use EF + domain service in SL app. In EF, entity update mapped to SP. After entity data is saved to DB, I want entity is refreshed, so that those changes by SP can be brought back to entity in SL app. How开发者_StackOverflow社区 to resolve this problem.


Not sure if this also related to domain services but in common EF with EDMX your SP must also have SELECT command to return refreshed data. Then in Stored procedure mapping you must map output parameters to entity properties.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜