JsonConvert.SerializeObject(list, new JsonSerializerSettings() { ReferenceLoopHandling = ReferenceLoopHandling.Ignore })这是序列化的代码?但是我明明用EF把实体Include进来了,执行上面的代码时还去查数据,这是为什么呢?有什么好的解决办法呢。
相关问题
- Sorting 3 numbers without branching [closed]
- Graphics.DrawImage() - Throws out of memory except
- Why am I getting UnauthorizedAccessException on th
- 求获取指定qq 资料的方法
- How to know full paths to DLL's from .csproj f
试试去掉对应实体属性的
virtual
修饰符