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?
I don't think so... I just grepped through the NHibernate.Linq source code and its tests and found no reference to LockMode.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With