Complete Playlist: • Entity Framework Core in Hindi /Urdu ...
EF Core
Entity Framework Core also known as EF Core is the latest version of Microsoft’s Entity Framework. It is an Object/Relational Mapping (O/RM) framework for performing database operations.
EF Core Supported Application Types
You can use Entity Framework Core on:
1. Console Applications
2. Windows Applications
3. ASP.NET Web Forms
4. ASP.NET MVC
5. ASP.NET MVC Core
6. WPF
7. Xamarin Framework.
8. Web API
Working on EF Core
There are 2 approaches when doing development in EF Core. These are:
1. Database First.
2. Code First.
There is very little support of Database First approach since there is no visual designer, like .edmx file, in EF Core. The EF Core mainly supports Code First approach.
Database First Approach
In Database First approach the domain & context classes are created based on the existing Database.
Code First Approach
In Code First approach the domain & context classes are created by you then EF Core created the database using these classes. The term Migration is used whenever EF Core creates or updates the Database based on the domain & context classes.