Fixed
Details
Details
Assignee
Alex Zaytsev
Alex ZaytsevReporter
John
JohnComponents
Fix versions
Affects versions
Priority
Who's Looking?
Open Who's Looking?
Created October 15, 2010 at 7:09 AM
Updated September 21, 2014 at 12:40 PM
Resolved May 7, 2014 at 9:30 AM
Attempting to execute a Linq query that selects out an anonymous type will result in a NotSupportedException being thrown. For example, performing the following query:
session.Query<Person>().Select(a => new { a.Name }).Distinct().ToArray();
will result in:
System.NotSupportedException : Expression type 10005 is not supported by this SelectClauseVisitor.