public SelectQuery(ISession session) { Session = session; WhereExpressions = new List <Expression <Func <T, bool> > >(); OrderExpressions = new List <OrderExpressionContainer>(); QueryLockHints = null; }
public static IQuery WithLockMode(this IQuery source, string alias, LockingHints lockHints) { if (lockHints == null) { return(source); } return(source.SetLockMode(alias, lockHints.TransformToLockMode())); }
public SelectQuery <T> WithoutLock() { QueryLockHints = null; return(this); }
public SelectQuery <T> With(LockingHints lockHints) { QueryLockHints = lockHints; return(this); }