开发者

Entity Framework Objects Serialization through WCF

开发者 https://www.devze.com 2023-03-06 04:21 出处:网络
the situation is as following: while adding an object which has 2 level of details into the database using EF the process works fine on SaveChanges() for the first time since all data is loaded from t

the situation is as following: while adding an object which has 2 level of details into the database using EF the process works fine on SaveChanges() for the first time since all data is loaded from the database.

I tried to store the lists in Sessions and even 开发者_运维知识库ViewState (to avoid any serialization problems) but when i create a new object and add the details to it , the insert process failed at the web level due a serialization problem

Note : the call to the business and data-layer is routed through WCF service

0

精彩评论

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