解决方案: 加上 db.Configuration.ProxyCreationEnabled = false;这句话搞定~ 转载于:https://www.cnblogs.com/shuai7boy/p/5329528.html