© Holger Schwichtenberg 2018
Holger SchwichtenbergModern Data Access with Entity Framework Core https://doi.org/10.1007/978-1-4842-3552-2_9

9. Object Relationships and Loading Strategies

Holger Schwichtenberg1 
(1)
Essen, Germany
 

An object model describes the relationships between instances of different classes (for example, between Flight and Pilot) or other instances of the same class (see, for example, the Supervisor property in the Employees class). The question of when and how relational objects are loaded is crucial not only to the software developer but also to the performance of the application.

Overview of Loading Strategies

The classic Entity Framework supports four connected object loading strategies: lazy loading automatically, explicit ...

Get Modern Data Access with Entity Framework Core: Database Programming Techniques for .NET, .NET Core, UWP, and Xamarin with C# now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.