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.
精彩评论