internal Visitor(TypeSystemProvider typeProvider, SqlFactory sqlFactory) { this.orders = new List <SqlOrderExpression>(); this.typeProvider = typeProvider; this.sql = sqlFactory; this.aggregateChecker = new SqlAggregateChecker(); }
internal Visitor(bool doLifting, HashSet <SqlAlias> aliasesForLifting, HashSet <SqlExpression> liftedExpressions) { this.doLifting = doLifting; this.aliases = new SqlAliasesReferenced(aliasesForLifting); this.liftedExpressions = liftedExpressions; this.canLiftAll = true; this.aggregateChecker = new SqlAggregateChecker(); }
internal SqlColumnDeflator() { this.referenceMap = new Dictionary <SqlNode, SqlNode>(); this.aggregateChecker = new SqlAggregateChecker(); this.isTopLevel = true; }
internal Visitor(SqlFactory sqlFactory) { this.sql = sqlFactory; this.aggregateChecker = new SqlAggregateChecker(); }
internal Visitor(TypeSystemProvider typeProvider, SqlFactory sqlFactory) { this.orders = new List<SqlOrderExpression>(); this.typeProvider = typeProvider; this.sql = sqlFactory; this.aggregateChecker = new SqlAggregateChecker(); }
internal ColumnLifter() { this.aggregateChecker = new SqlAggregateChecker(); }
internal Visitor(SqlBinder binder, Translator translator, SqlColumnizer columnizer, SqlFactory sqlFactory, MetaModel model, DataLoadOptions shape, bool canUseOuterApply) { this.binder = binder; this.translator = translator; this.columnizer = columnizer; this.sql = sqlFactory; this.typeProvider = sqlFactory.TypeProvider; this.expander = new SqlExpander(this.sql); this.aggregateChecker = new SqlAggregateChecker(); this.linkMap = new LinkOptimizationScope(null); this.outerAliasMap = new Dictionary<SqlAlias, SqlAlias>(); this.model = model; this.shape = shape; this.canUseOuterApply = canUseOuterApply; }
internal Lifter(TypeSystemProvider typeProvider, MetaModel model) { this.sql = new SqlFactory(typeProvider, model); this.aggregateChecker = new SqlAggregateChecker(); this.rowNumberChecker = new SqlRowNumberChecker(); }
internal SqlColumnDeflator() { this.referenceMap = new Dictionary<SqlNode, SqlNode>(); this.aggregateChecker = new SqlAggregateChecker(); this.isTopLevel = true; }
internal Visitor(bool doLifting, HashSet<SqlAlias> aliasesForLifting, HashSet<SqlExpression> liftedExpressions) { this.doLifting = doLifting; this.aliases = new SqlAliasesReferenced(aliasesForLifting); this.referencedColumns = new HashSet<SqlColumn>(); this.liftedExpressions = liftedExpressions; this.canLiftAll = true; if (doLifting) this.lifted = new List<List<SqlColumn>>(); this.aggregateChecker = new SqlAggregateChecker(); }