public override void VisitWhereClause(WhereClause whereClause, QueryModel queryModel, int index) { WhereJoinDetector.Find(whereClause.Predicate, _nameGenerator, this, _joins, _expressionMap); }
private AddJoinsReWriter(ISessionFactoryImplementor sessionFactory, QueryModel queryModel) { _sessionFactory = sessionFactory; var joiner = new Joiner(queryModel, AddJoin); _memberExpressionJoinDetector = new MemberExpressionJoinDetector(this, joiner); _whereJoinDetector = new WhereJoinDetector(this, joiner); }
private AddJoinsReWriter(ISessionFactory sessionFactory, QueryModel queryModel) { _sessionFactory = sessionFactory; var joiner = new Joiner(queryModel); _selectJoinDetector = new SelectJoinDetector(this, joiner); _resultOperatorAndOrderByJoinDetector = new ResultOperatorAndOrderByJoinDetector(this, joiner); _whereJoinDetector = new WhereJoinDetector(this, joiner); }