A common misconception is that the Code First paradigm is only usable when creating a database from code. In this section, Phil explains that EF Core can be used to create new databases as is used with existing database and is demonstrated in this course.
- [Instructor] Unlike EF6,…which had four core usage scenarios, EF Core has two.…In EF6 you could build a designer…from an existing database,…build a model from the existing database…or start with an empty designer with no database…and start with an empty model with no database.…In EF Core the model is gone,…and we'll talk about all the differences shortly.…But I want to stress that Code First doesn't mean code only.…
If I want to create my model first in code…I can then use migrations to create an updated database…to match the entities.…Migrations are covered in my next course.…You can also work from an existing database…by scaffolding your DB context and all of your entities,…and this will be covered fairly soon…in the very next module.…
- 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.