NHibernate.Linq LockMode

linq-to-nhibernate, nhibernate

Solution

I don't think so... I just grepped through the NHibernate.Linq source code and its tests and found no reference to LockMode.

Problem

Is it possible to set the LockMode when using NHibernate.Linq? When using ICriteria I can this way: ``` var criteria = Session.CreateCriteria<Foo>(); criteria.SetLockMode(LockMode.None); criteria.Add(Expression.Eq("Title", title)); ``` Is it possible to build that same query using Nhibernate.Linq?

Original source