In this section, Phil explains the major components of Entity Framework Core, including the DbContext, the Change Tracker, DbSets, Entities, and Database providers and the provider model. Phil closes the section with the database providers supported in EF Core.
- [Instructor] There's five major components…of Entity Framework:…The DbContext, the ChangeTracker, the DbSet,…your Entities, and then Database Providers.…The DbContext represents a session with the database,…and this is what's used for query and save operations.…If you need access to the database itself,…the DbContext exposes a database facade…so you can do things like run, queries,…store procedures, those types of things.…
The DbContext implements a combination of the Unit of Work…and Repository patterns, and we'll see these…when we get into persisting data to the database,…and provides additional model configuration…via the Fluent API.…Unlike Entity Framework 6, where it's simply configured…by passing in the name of a connection string,…the DbContext in EF Core is configured using…the DbContext options and a DbContext options builder.…The ChangeTracker is a very important part.…
This provides all the information about the entities…that are being tracked by Entity Framework.…It tracks the original values,…as well as the current values, and then works with…
- Entity Framework Core components and projects
- Working with scaffolded files
- Testing with xUnit
- Viewing generated SQL
- Composing queries
- Sorting and filtering results
- Working with aggregates
- Loading related data
- Logging and tracking
- Mapping functions
- Generics and delegates
- Checking concurrency
- Resiliency and transactions
Skill Level Intermediate
Learning Entity Framework Corewith Reynald Adolphe1h 35m Intermediate
1. Get to Know Entity Framework
2. Set the Stage
3. Querying Data: Part 1
4. Querying Data: Part 2
5. Advanced Query Features
6. Persisting Data
7. DbContext Options and Configuration
Thank you1m 23s
- Mark as unwatched
- Mark all as unwatched
Are you sure you want to mark all the videos in this course as unwatched?
This will not affect your course history, your reports, or your certificates of completion for this course.Cancel
Take notes with your new membership!
Type in the entry box, then click Enter to save your note.
1:30Press on any video thumbnail to jump immediately to the timecode shown.
Notes are saved with you account but can also be exported as plain text, MS Word, PDF, Google Doc, or Evernote.