Exemplo n.º 1
0
 internal Visitor(TypeSystemProvider typeProvider, SqlFactory sqlFactory)
 {
     this.orders           = new List <SqlOrderExpression>();
     this.typeProvider     = typeProvider;
     this.sql              = sqlFactory;
     this.aggregateChecker = new SqlAggregateChecker();
 }
Exemplo n.º 2
0
 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();
 }
Exemplo n.º 3
0
 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();
 }
Exemplo n.º 5
0
 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(SqlFactory sqlFactory) {
     this.sql = sqlFactory;
     this.aggregateChecker = new SqlAggregateChecker();
 }
Exemplo n.º 8
0
 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();
 }
Exemplo n.º 10
0
 internal SqlColumnDeflator() {
     this.referenceMap = new Dictionary<SqlNode, SqlNode>();
     this.aggregateChecker = new SqlAggregateChecker();
     this.isTopLevel = true;
 }
Exemplo n.º 11
0
 internal Lifter(TypeSystemProvider typeProvider, MetaModel model)
 {
     this.sql = new SqlFactory(typeProvider, model);
     this.aggregateChecker = new SqlAggregateChecker();
     this.rowNumberChecker = new SqlRowNumberChecker();
 }
 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();
 }
 internal ColumnLifter()
 {
     this.aggregateChecker = new SqlAggregateChecker();
 }