Linq-To-Entities Include

二次信任 提交于 2019-12-04 12:39:06
  1. Include is a hint to eager load, it does not force eager loading.
  2. Always check the IsLoaded property before referencing something that you hope was eager loaded by Include.
  3. There are ways to put a strongly typed object in the include statement, but there is no solution available to this issue out of the box with Entity Framework. Google something like: Entity Framework ObjectQueryExtension Include
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!