Hi guy, There are some demand to add ability tune LINQ queries with different options, as readonly, lock modes, time outs, etc (NH-2285, NH-3470)
All of them are about to add extension methods for IQueryable. I do not like this, and I have a proposal: What if we will have an argument on session.Query methods which will accept the query options: session.Query<Customer>(new QueryOptions { ReadOnly = true }).Where(c => /*...*/) or with lambdas session.Query<Customer>(c => { c.ReadOnly = true; }).Where(c => /*...*/) or session.Query<Customer>(c => c.ReadOnly()).Where(c => /*...*/) What do you think? Best Regards, Alexander -- --- You received this message because you are subscribed to the Google Groups "nhibernate-development" group. To unsubscribe from this group and stop receiving emails from it, send an email to nhibernate-development+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.