I have the following LINQ query that I am using to construct a structure to stuff into a JavaScript grid library which is irrelevant for this example, but I figured I would stil
The SingleOrDefault call will throw an exception if the expression returns more than one item. Maybe you could try and use FirstOrDefault if its just the Top 1 you want.