Entity Framework Core 导航属性 加载数据

Loading Related Data

https://docs.microsoft.com/en-us/ef/core/querying/related-data

 

  • Eager loading means that the related data is loaded from the database as part of the initial query.
  • Explicit loading means that the related data is explicitly loaded from the database at a later time.
  • Lazy loading means that the related data is transparently loaded from the database when the navigation property is accessed. Lazy loading is not yet possible with EF Core.

 

被坑了一下。。。

posted @ 2018-02-09 00:04  倚舟笑沧海  阅读(176)  评论(0编辑  收藏  举报