Learn about handling information duplication between Entity Framework and the database schema.
- [Instructor] Entity Framework requires that the EFCore…model be compatible with the database schema.…Ideally it matches the schema perfectly,…but this is not always the case.…There's an inherent duplication of information required…for Entity Framework.…Whenever information is duplicated, it can be mismatched.…When the application and database are one to one,…then Entity Framework can use migrations to become…the source of truth.…Database changes are made within the application…and migrated to the database through Entity Framework.…This solves the duplicated information problem…and ensures the database and code always match.…
However it isn't always the case that the application…can drive database changes.…Often the application is hitting multiple databases,…or databases that belong to other systems.…This means that the application has to be updated…when database changes are made.…Re-scaffolding the data models with the database changes…regularly means that the models are generated code…and shouldn't be changed by hand.…
- What is good application architecture?
- Real-world software and the SDLC
- Common knowledge and maintenance
- Choosing an architecture
- Design patterns with EF
- Debugging and error handling
- Architecture for the web with ASP.NET
- Designing for unit testing
- Strategies for dealing with common performance issues
Skill Level Advanced
1. Why Do All of This Architecture?
2. Design Patterns with EF
3. Error Handling
4. Architecture for the Web with ASP.NET
5. Designing for Unit Testing
6. Entity Framework Mistakes
- 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.