Details
-
Task
-
Resolution: Done
-
Minor - P4
-
1.8.3
-
Window 7 64 bit
Description
The attached code throws an InvalidOperationException() - Sequence contains more than one element, but there is only one element due to the Take(1) ?
I can easily work around this issue, but is this a bug or by design?
var result = collection.AsQueryable().Where( m => m.Name == "Lisa" ).Take( 1 ).SingleOrDefault(); // exception thrown here