I have a stored procedure that returns a dataset without any primary key. The documentation states that you should call a stored procedure on the DbSet like:
var blogs = context.Blogs
.FromSqlRaw("SELECT * FROM dbo.Blogs")
.ToList();
However I do not have a DB set. I can do something like:
await this.Database.ExecuteSqlRawAsync("[xxx].[VF_Set_PrimaryXXX] @BankDataId",param1);
But this does not return data. So how do I call a stored procedure and return my own custom model in a list?