The data models used with EF Core are data models, and should be used as such.
- [Instructor] Before the end of the course,…I want to spend a little bit of time,…discussing mistakes that are often made…when building entity framework applications.…Many of these items have been touched on…earlier in the course,…but it's worth fleshing them out separately,…so that they can be avoided.…In this video, I'm going to talk about limiting the use…of entity framework models.…Entity framework models can be used…as business or domain models, as we have in the demo,…but even when taking great care to keep the database…out of the models, this isn't always the right way to go.…
We can get a lot of value out of ensuring…all of the entity framework pieces are outside of the model.…Rather than use the EF Data Annotations, use the Fluent API…to define the data model as part of the data context.…Use partial classes with the models…to implement interfaces like we did earlier in the course…with IValidatableObject.…Don't be afraid to continue extending the models…with other interfaces and implementing those interfaces…
- 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.