While using Stored Procedure with Entity Framework if you get below error Message:
Image 1.
It simply means: Try explicitly enumerating the results by calling ToList().
Replace Your Code From
foreach (var item in query)
To #:
foreach (var item in query.ToList())


Rajeesh MenothPosted Aug 3, 2015, 2:29 AM EDT
Good
Rahul Kumar SaxenaTOP 100Posted Aug 2, 2015, 8:05 PM EDT
Thanks Neeraj Kumar
Neeraj KumarPosted Aug 2, 2015, 11:55 AM EDT
Nice