I understand this is the way we call a stored procedure using Entity Framework.
context.Database.SqlQuery( \"mySpName @param1, @param
You want context.Database.ExecuteSqlCommand instead of SqlQuery
context.Database.ExecuteSqlCommand
SqlQuery
context.Database.ExecuteSqlCommand( "mySpName @param1, @param2, @param3", new SqlParameter("param1", param1), new SqlParameter("param2", param2), new SqlParameter("param3", param3) );