Exemplo n.º 1
0
		internal PredicateLifter(bool doLifting, HashSet<SqlAlias> aliasesForLifting, HashSet<SqlExpression> liftedExpressions)
		{
			this.doLifting = doLifting;
			this.aliases = new Common.SqlAliasesReferenced(aliasesForLifting);
			this.liftedExpressions = liftedExpressions;
			this.CanLiftAll = true;
			this.aggregateChecker = new SqlAggregateChecker();
		}
Exemplo n.º 2
0
 internal PredicateLifter(bool doLifting, HashSet <SqlAlias> aliasesForLifting, HashSet <SqlExpression> liftedExpressions)
 {
     this.doLifting         = doLifting;
     this.aliases           = new Common.SqlAliasesReferenced(aliasesForLifting);
     this.liftedExpressions = liftedExpressions;
     this.CanLiftAll        = true;
     this.aggregateChecker  = new SqlAggregateChecker();
 }
Exemplo n.º 3
0
		internal SelectionLifter(bool doLifting, HashSet<SqlAlias> aliasesForLifting, HashSet<SqlExpression> liftedExpressions)
		{
			this.doLifting = doLifting;
			this.aliases = new Common.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();
		}
Exemplo n.º 4
0
 internal SelectionLifter(bool doLifting, HashSet <SqlAlias> aliasesForLifting, HashSet <SqlExpression> liftedExpressions)
 {
     this.doLifting         = doLifting;
     this.aliases           = new Common.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();
 }
Exemplo n.º 5
0
		internal MemberAccessBinder(SqlBinder binder, Translator translator, SqlColumnizer columnizer, NodeFactory 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;
		}
Exemplo n.º 6
0
		internal ColumnLifter()
		{
			this.aggregateChecker = new SqlAggregateChecker();
		}
Exemplo n.º 7
0
		internal WhereClauseLifter(NodeFactory sql)
		{
			this.sql = sql;
			this.aggregateChecker = new SqlAggregateChecker();
			this.rowNumberChecker = new SqlRowNumberChecker();
		}
Exemplo n.º 8
0
		internal SqlColumnDeflator()
		{
			_referenceMap = new Dictionary<SqlNode, SqlNode>();
			_aggregateChecker = new SqlAggregateChecker();
			_isTopLevel = true;
		}
Exemplo n.º 9
0
 internal ColumnLifter()
 {
     this.aggregateChecker = new SqlAggregateChecker();
 }
		internal ScalarSubQueryRewriter(NodeFactory sqlFactory)
		{
			this.sql = sqlFactory;
			this.aggregateChecker = new SqlAggregateChecker();
		}
Exemplo n.º 11
0
 internal SqlColumnDeflator()
 {
     _referenceMap     = new Dictionary <SqlNode, SqlNode>();
     _aggregateChecker = new SqlAggregateChecker();
     _isTopLevel       = true;
 }
 internal ScalarSubQueryRewriter(NodeFactory sqlFactory)
 {
     this.sql = sqlFactory;
     this.aggregateChecker = new SqlAggregateChecker();
 }