API
Include
Requests eager loading of a related navigation.
Formal Syntax & Structure
csharp syntaxcsharp
db.Categories.Include(c => c.Books)Working Example
Example Snippetcsharp
// Documentary fragment; see mapped lesson for context.db.Categories.Include(c => c.Books)