EF 错误信息处理

"msg":"Self referencing loop detected with type 'System.Data.Entity.DynamicProxies.MBA_IntegralMall_339281C357F89FD7005D46A87DFA22AF8339E7BA9851E2344DF2FDA7E3CBB261'. Path 'data.coupons[0].kywkt_Coupon.MBA_IntegralMall

解决:表关系导致,需要new 匿名对象。

原文地址:https://www.cnblogs.com/qq22144770/p/5307340.html