LINQ issue sorted

The answer to my LINQ query turned out to be pretty simple in the end – all I needed to do was run my query against a list. I.e.:

args.Result = from userimage in db.UserImages


args.Result = from userimage in db.UserImages.ToList()

(Thanks Blair!)

Posted on Thursday, June 12, 2008 10:14 PM |

Like this? Share it!

No comments posted yet.

Post a comment
Please add 5 and 6 and type the answer here:
Remember me?
Ensure the word in this box says 'orange':