Executing raw SQL query with Entity Framework without using DbSet
In this previous post, I showed how to execute raw SQL query using EF but it requires the entity to be defined and to be accessible via DbSet. However, there might be times where you just want to execute a raw SQL query to return some arbitrary shape that is not necessarily part of your … [Read more…]