I'm trying to use the ToFuture with the new NH Linq 3.0 provider.
This works fine:
var result = ses.Query<Parent>()
.Where(x => x.Id == id)
.ToFutureValue();
but when I use a Fetch/FetchMany like this:
var result = ses.Query<Parent>()
.Where(x => x.Id == id)
.Fetch(x => X.Child)
.ToFutureValue();
This exception occurs:
NotSupportedException with: You can also use the AsFuture() method on NhQueryable
Any suggestions?