Featured

08 MVC With EF Core 2



Published
Entity Framework

(with LinQ and Lambda expression)



Libraries to be added : (search by below)
* EntityFrameworkCore
* EntityFramework tool
-* EntityFramework sql


Applying query in app server that will reflect to DB server.

* Code first approach (Code to DB)
(Write the entity class/model class, as well as Context class and then MIGRATE to DB)

* DB first approach (DB to Code)
(First make sure that Database and its respective objects are ready and then MIGRATE to create model & Context)


Note:- Once you add above libraries then DbContext is an inbuilt class that will help to map our ORM (Object relational mapping) with a custom class called Context class.
Category
Job
Be the first to comment