Simple query with Fetch and SingleOrDefault throws exception (regression from 3.3.0)
Description
The following simple query throws an exception with a build from the current master branch:
var query = db.Users
.Fetch(x => x.Role)
.Where(x => x.Name == "xxx")
.SingleOrDefault();
The exception is:
Remotion.Linq.Utilities.ArgumentTypeException : Argument inputInfo has type Remotion.Linq.Clauses.StreamedData.StreamedSingleValueInfo when type Remotion.Linq.Clauses.StreamedData.StreamedSequenceInfo was expected.
Parametername: inputInfo
Environment
None
Activity
Show:
Alex Zaytsev
June 11, 2012, 2:31 PM
Fix commited to master 806cf928dd09531a1805a031a28c378db342510a
Alex Zaytsev
June 11, 2012, 2:05 PM
Thanks
Fixed