错误:【Self referencing loop detected with type】
Newtonsoft环境:LINQ+Newtonsoft问题:若两表间有外键,如图如果代码按如下写法则会报错:【Self referencing loop detected with type】 var result = db.T_ZiGeJingLi.Where(p => p.ID == Convert.ToInt32(ZGZSID)); string
原创
2015-08-27 15:38:36 ·
2542 阅读 ·
0 评论