Using Entity Framework 6, I was able to use execute a Raw SQL Query and use a custom model which was not defined in the DBContext in order to store the output of the query. A si
From .NET Core 2.1:
Add modelBuilder.Query() to OnModelCreating(ModelBuilder modelBuilder)
modelBuilder.Query()
OnModelCreating(ModelBuilder modelBuilder)
Use context.Query().FromSql(rawSql) to get data
context.Query().FromSql(rawSql)