Problem with Select

Aug 7, 2014 at 3:19 PM
While trying to get following select statement running, I run into an exception.
.Select("new(Id, LastPosition == null ? Guid.Empty : LastPosition.Id)")

It seems that the parser is not able to handle conditional expressions.

The equivalent Linq regular select works well.
Jun 1, 2016 at 4:37 PM