序列化类型为“System.Data.Entity.DynamicProxies.ActionInfo_”的对象时检测到循环引用。 解决方案: 加上 db.Configuration.ProxyCreationEnabled = false;这句话搞定~