ef core execute stored procedure without entity code example
Example 1: execute stored procedure without db set
var results = Context.Query<MyStoredProcResultType>()
.FromSql("EXECUTE dbo.MyStoredProc {0}", someParam)
.ToList()
Example 2: execute stored procedure without db set
modelBuilder.Query<MyStoredProcResultType>();