Beispiel #1
0
 internal Visitor(TypeSystemProvider typeProvider, SqlFactory sqlFactory)
 {
     this.orders           = new List <SqlOrderExpression>();
     this.typeProvider     = typeProvider;
     this.sql              = sqlFactory;
     this.aggregateChecker = new SqlAggregateChecker();
 }
Beispiel #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();
 }
Beispiel #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();
 }
 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();
 }
 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();
 }
Beispiel #10
0
 internal SqlColumnDeflator() {
     this.referenceMap = new Dictionary<SqlNode, SqlNode>();
     this.aggregateChecker = new SqlAggregateChecker();
     this.isTopLevel = true;
 }
 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();
 }