In this video, I am going to walk through how to use Inline query for Insert, Update, and Delete in Entity Framework Core.

Entity Framework Core is the .Net Core version of Entity Framework. That is an ORM (Object Relational Mapper) tool for .Net Framework to work with databases.

Entity Framework Core has the following features, which differentiates it from the classic Entity Framework:

  1. It is cross-platform (by the virtue of being built for .Net Core)
  2. Extensible
  3. And lightweight compared to classic Entity Framework

NuGet packages needed for this project will be Microsoft.EntityFrameworkCore.SqlServer and Microsoft.EntityFrameworkCore.Tools.

I have covered basic of Entity Framework Core in my blog here: https://dotnetcorecentral.com/blog/entity-framework-core/

The source code for this video is available here: https://github.com/choudhurynirjhar/EntityFrameworkCoreDemo

I personally prefer using the inline query as it makes it really easy for deployment. Since everything is in code and can be deployed as part of the code deployment. There will not be any dependency on database deployment for Stored Procedures.

#entity-framework #programming #developer #dotnet

Entity Framework Core (Inline Query for Insert, Update and Delete)
1.80 GEEK