Method not found: 'System.Collections.Generic.IEnumerable`1 System.Data.Entity.Database.SqlQuery(System.String, System.Object[])'.
I am doing
var query = db.Database.SqlQuery("exec [dbo].[sp_client_accounttransaction_details] @UserId,@mode", new SqlParameter("UserId", "2"), new SqlParameter("mode", "ALL")).ToList();
Shakti Singh DulawatPosted Aug 30, 2017, 6:52 AM
In my case the problem was that I hade Dapper 1.13 in one Project and Dapper 1.12.1 in another in the same solution.
Hope this help!