EF4 POCO WCF Serialization problems (no lazy loading, proxy/no proxy, circular references, etc)

后端 未结 5 1475
慢半拍i
慢半拍i 2021-02-15 12:23

OK, I want to make sure I cover my situation and everything I\'ve tried thoroughly. I\'m pretty sure what I need/want can be done, but I haven\'t quite found the perfect combin

5条回答
  •  情话喂你
    2021-02-15 12:52

    Try setting myContext.ContextOptions.ProxyCreationEnabled = false;

    If the problem is solved (like mine) then you've not followed the steps mentioned in: http://msdn.microsoft.com/en-us/library/ee705457.aspx

    This solved the problem for me.

提交回复
热议问题