execute stored procedure without db set

Solutions on MaxInterview for execute stored procedure without db set by the best coders in the world

showing results for - "execute stored procedure without db set"
Nathanael
04 Jul 2016
1var results = Context.Query<MyStoredProcResultType>()
2                     .FromSql("EXECUTE dbo.MyStoredProc {0}", someParam)
3                     .ToList()
Juan Diego
09 Aug 2016
1modelBuilder.Query<MyStoredProcResultType>();