コード例 #1
0
 internal Visitor(TypeSystemProvider typeProvider, SqlFactory sqlFactory)
 {
     this.orders           = new List <SqlOrderExpression>();
     this.typeProvider     = typeProvider;
     this.sql              = sqlFactory;
     this.aggregateChecker = new SqlAggregateChecker();
 }
コード例 #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();
 }
コード例 #3
0
 internal SqlColumnDeflator()
 {
     this.referenceMap     = new Dictionary <SqlNode, SqlNode>();
     this.aggregateChecker = new SqlAggregateChecker();
     this.isTopLevel       = true;
 }
コード例 #4
0
 internal Visitor(SqlFactory sqlFactory)
 {
     this.sql = sqlFactory;
     this.aggregateChecker = new SqlAggregateChecker();
 }
コード例 #5
0
 internal Visitor(TypeSystemProvider typeProvider, SqlFactory sqlFactory) {
     this.orders = new List<SqlOrderExpression>();
     this.typeProvider = typeProvider;
     this.sql = sqlFactory;
     this.aggregateChecker = new SqlAggregateChecker();
 }
コード例 #6
0
 internal ColumnLifter() {
     this.aggregateChecker = new SqlAggregateChecker();
 }
コード例 #7
0
 internal Visitor(SqlFactory sqlFactory) {
     this.sql = sqlFactory;
     this.aggregateChecker = new SqlAggregateChecker();
 }
コード例 #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;
 }
コード例 #9
0
 internal Lifter(TypeSystemProvider typeProvider, MetaModel model) {
     this.sql = new SqlFactory(typeProvider, model);
     this.aggregateChecker = new SqlAggregateChecker();
     this.rowNumberChecker = new SqlRowNumberChecker();
 }
コード例 #10
0
ファイル: SqlDeflator.cs プロジェクト: uQr/referencesource
 internal SqlColumnDeflator() {
     this.referenceMap = new Dictionary<SqlNode, SqlNode>();
     this.aggregateChecker = new SqlAggregateChecker();
     this.isTopLevel = true;
 }
コード例 #11
0
 internal Lifter(TypeSystemProvider typeProvider, MetaModel model)
 {
     this.sql = new SqlFactory(typeProvider, model);
     this.aggregateChecker = new SqlAggregateChecker();
     this.rowNumberChecker = new SqlRowNumberChecker();
 }
コード例 #12
0
 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();
 }
コード例 #13
0
 internal ColumnLifter()
 {
     this.aggregateChecker = new SqlAggregateChecker();
 }