public IsReferenceExpressionRewriter(QueryEntityRegistry queryEntityRegistry, QueryEntityAccessor queryEntityAccessor, NameGenerator nameGenerator, HashSet <ColumnReferenceExpression> rewritten) { this.queryEntityRegistry = queryEntityRegistry; this.queryEntityAccessor = queryEntityAccessor; this.nameGenerator = nameGenerator; this.rewritten = rewritten; }
public TranslationContext(IMappingSource mappingSource, List <ISqlElement> areas, SqlQuery sqlQuery) { this.mappingSource = mappingSource; this.areas = areas; this.sqlQuery = sqlQuery; queryEntityRegistry = new QueryEntityRegistry(mappingSource); queryEntityAccessor = new QueryEntityAccessor(queryEntityRegistry, nameGenerator); }
public TranslationContext(IMappingSource mappingSource, List <ISqlElement> areas, SqlQuery sqlQuery) { this.mappingSource = mappingSource; this.areas = areas; this.sqlQuery = sqlQuery; queryEntityRegistry = new QueryEntityRegistry(mappingSource); queryEntityTree = new QueryEntityTree(queryEntityRegistry, nameGenerator); enumSqlBuilder = new EnumSqlBuilder(queryEntityTree, nameGenerator); }
public DeduceEntityTypeFromIsReferenceExpressionVisitor(QueryEntityRegistry queryEntityRegistry, QueryEntityAccessor queryEntityAccessor) { this.queryEntityRegistry = queryEntityRegistry; this.queryEntityAccessor = queryEntityAccessor; }
public ValueLiteralRewriter(QueryEntityAccessor queryEntityAccessor, QueryEntityRegistry queryEntityRegistry) { this.queryEntityAccessor = queryEntityAccessor; this.queryEntityRegistry = queryEntityRegistry; }