I am trying to execute stored procedure using Massive micro-orm.
var tbl = new DynamicModel("Conn", tableName: "User", primaryKeyField: "UserID");
var result = tbl.Query("EXEC User_INSERT @0,@1,@2,@3", "7843bf9d-9cb8-495b-aaa5-785ac74b82a5", "7FBDDG58-B08E-4723-9477-C9E791CDF36E", "Admin", "11/20/2012");
While debugging it does not even go to Massive library. I also tried like...
var result = tbl.Query(@"EXEC ...);
and also
var result = tbl.Query("User_INSERT @0,...);
Nothing seems to be working. With same handle SELECT query works, but not the stored procedure. If I create a break point in the statement and load the same in "Quick watch" and expand dynamic result, it fires up stored procedure.