What is EF (Entity Framework)?
- It is an O/RM tool (Object Relation Mapping)
- It provides an easy and automated way of mapping between Objects (Classes) and Relations (Tables)
- It auto-generates most of the data-access code.
Why Use O/RM?
It provides full IntelliSense support for columns names and table names. (Strongly Typed)
What is EF (Entity Framework) Core?
- Entity Framework Core is an O/RM tool.
- Entity Framework Core is the latest data access technology for .Net developers.
- Entity Framework Core has almost the same interface as EF6.X.
- Entity Framework Core can be used to access NoSQL DB. Whereas EF6.X cannot.
- Entity Framework Core can run on Windows, Linux, and Apple. Whereas EF6.X is only for Windows.
There are two approaches of working with EF Core,
- Code-First
- Database-First
As per our old EF, we are using both the approaches that first create classes, then you run it or compile it. It will create the database automatically. And the second approach first creates the database then create classes as per the database.

Join the conversation! Your thoughts help the community grow.