Execute raw SQL commands in Entity Framework Core

added by DotNetKicks
1/7/2020 3:56:15 PM

423 Views

I have never seen a real-life project where object-relational mapper generates 100% of needed SQL. There have always been those special cases when raw SQL commands are needed. In this post I will demonstrate how to run raw SQL commands in Entity Framework Commands and how to read data from database without DbSet and query types.


0 comments