Entity Framework Core DbContext Setup Entity Configuration (Fluent API) Migrations Query Patterns Basic CRUD Eager Loading Compiled Queries (hot paths) Bulk Operations (.NET 10) Performance Tips - Always use for read-only queries - Use projection to only load needed columns - Use for multiple includes - Add indexes for frequently queried columns - Use / for bulk operations - Use compiled queries for frequently executed queries - Never call before (loads entire table) - Use in repositories, materialize in services ---