Hi all,
I cannot get it working. Throws the following exception when the query is executed:
NHibernate.Hql.Ast.ANTLR.InvalidPathException: Invalid path ‘x.Weight’
One workaround I found was to replace the linq parameter name, so the following query from the example:
from parcel in Session.Query<Parcel> where parcel.Fee > 1000 select parcel;
would become:
from x in Session.Query<Parcel> where x.Fee > 1000 select x;