public RelationalQueryModelVisitor(
     [NotNull] RelationalQueryCompilationContext queryCompilationContext,
     [CanBeNull] RelationalQueryModelVisitor parentQueryModelVisitor)
     : base(Check.NotNull(queryCompilationContext, nameof(queryCompilationContext)))
 {
     _parentQueryModelVisitor = parentQueryModelVisitor;
 }
        public ResultTransformingExpressionTreeVisitor(
            [NotNull] IQuerySource outerQuerySource,
            [NotNull] RelationalQueryCompilationContext relationalQueryCompilationContext)
        {
            Check.NotNull(outerQuerySource, "outerQuerySource");
            Check.NotNull(relationalQueryCompilationContext, "relationalQueryCompilationContext");

            _outerQuerySource = outerQuerySource;
            _relationalQueryCompilationContext = relationalQueryCompilationContext;
        }
示例#3
0
        public CommandBuilder(
            [NotNull] SelectExpression selectExpression,
            [NotNull] RelationalQueryCompilationContext relationalQueryCompilationContext)
        {
            Check.NotNull(selectExpression, "selectExpression");
            Check.NotNull(relationalQueryCompilationContext, "relationalQueryCompilationContext");

            _selectExpression = selectExpression;
            _relationalQueryCompilationContext = relationalQueryCompilationContext;
        }
示例#4
0
        public CommandBuilder(
            [NotNull] SelectExpression selectExpression,
            [NotNull] RelationalQueryCompilationContext relationalQueryCompilationContext)
        {
            Check.NotNull(selectExpression, "selectExpression");
            Check.NotNull(relationalQueryCompilationContext, "relationalQueryCompilationContext");

            _selectExpression = selectExpression;
            _relationalQueryCompilationContext = relationalQueryCompilationContext;
        }
示例#5
0
 public QueryFlatteningExpressionTreeVisitor(
     IQuerySource outerQuerySource,
     IQuerySource innerQuerySource,
     RelationalQueryCompilationContext relationalQueryCompilationContext,
     int readerOffset,
     MethodInfo operatorToFlatten)
 {
     _outerQuerySource = outerQuerySource;
     _innerQuerySource = innerQuerySource;
     _relationalQueryCompilationContext = relationalQueryCompilationContext;
     _readerOffset      = readerOffset;
     _operatorToFlatten = operatorToFlatten;
 }
示例#6
0
 public RelationalQueryModelVisitor(
     [NotNull] RelationalQueryCompilationContext queryCompilationContext)
     : base(Check.NotNull(queryCompilationContext, "queryCompilationContext"))
 {
 }