EF Core Load Related Entities28 Feb 2020 | CSharp-EF
Entity Framework Core allows you to use navigation properties in your model to load related entities. There are three common ORM patterns used to load related entities. They are Eager Loader, Explicit Loading, Lazying Loading. Those loading methods have different performance. I am going to dig into it in this article.
Eager Loading means that related entities are loaded from the database as part of the initial query. Explicit Loading means that related entities are explicitly loaded from the database at a later time. Lazy Loading means that related entities are transparently loaded from the database when the navigation property is accessed. Lazy Loading was introduced in EF Core 2.1 as a new feature.