It's important to know when to use or not use Entity Framework Core in your projects. This video covers three major considerations and explains the rationale. The first being large projects, and the second, using an application to take advantage of EF benefits mentioned. Last is whether converting presents more benefits than issues.
- [Instructor] Okay, so at this point,…you might be thinking,…"Alright, hey, looks like there are a quite of bit…"of benefits to using Entity Framework."…But when does it really apply to me?…When is it appropriate to actually use it?…In short, the first thing that I would say is…if the project is large.…It's really most applicable to large projects.…So if you have a project that's going to use a database…that has less than 1000 records…and less than 10 tables,…it might be an overkill to use Entity Framework.…But having said that,…even if you do have a much larger project,…you need to ask yourself whether or not…it takes advantage of the benefits that were mentioned…such as cash management, the modeling after the data,…handling the concurrency.…
So the more benefits you see applied to you,…then the more sense it makes to use Entity Framework.…And lastly, the thing to ask yourself…is to see if it makes sense…based on your current project situations.…So for example, if your application that you use…in your company actually benefits…
- Entity Framework (EF) overview
- Uses for EF
- Installing EF
- Creating entities
- Creating the DbContext
- Performing migrations
- Creating an MVC application
- Installing EF packages
- Reverse engineering the model
- Performing context and dependency injection
- Creating the controller and the view
- Using SqlServerTypeMapper
Skill Level Intermediate
Q: This course was updated on 06/23/2017. What changed?
A: The following topics were updated: using the exercise files; Mac install prerequisites; Entity Framework on Mac, part 1; and Entity Framework on Mac, part 2.