Lately I\'ve been working on stored procedure and encountered 1 strange problem.
First, I was able to successfully call a stored procedure from the database via:
You need to pass each parameter to the method (ie You can't pass a list)
IList XXXList = _context.Database.SqlQuery("spXXX @param1, @param2", new SqlParameter("param1", param1Value), new SqlParameter("param2", param2Value)).ToList();