Esempio n. 1
0
 public SQLiteQueryCompilationContext(
     [NotNull] IModel model,
     [NotNull] ILinqOperatorProvider linqOperatorProvider,
     [NotNull] IResultOperatorHandler resultOperatorHandler,
     [NotNull] IEnumerableMethodProvider enumerableMethodProvider)
     : base(model, linqOperatorProvider, resultOperatorHandler, enumerableMethodProvider)
 {
 }
        public RelationalQueryModelVisitor(
            [NotNull] QueryCompilationContext queryCompilationContext,
            [NotNull] IEnumerableMethodProvider enumerableMethodProvider)
            : base(Check.NotNull(queryCompilationContext, "queryCompilationContext"))
        {
            Check.NotNull(enumerableMethodProvider, "enumerableMethodProvider");

            _enumerableMethodProvider = enumerableMethodProvider;
        }
Esempio n. 3
0
        protected virtual RelationalQueryCompilationContext CreateQueryCompilationContext(
            [NotNull] ILinqOperatorProvider linqOperatorProvider,
            [NotNull] IResultOperatorHandler resultOperatorHandler,
            [NotNull] IEnumerableMethodProvider enumerableMethodProvider)
        {
            Check.NotNull(linqOperatorProvider, "linqOperatorProvider");
            Check.NotNull(resultOperatorHandler, "resultOperatorHandler");
            Check.NotNull(enumerableMethodProvider, "enumerableMethodProvider");

            return(new RelationalQueryCompilationContext(
                       Model, linqOperatorProvider, resultOperatorHandler, enumerableMethodProvider));
        }
Esempio n. 4
0
        public RelationalQueryCompilationContext(
            [NotNull] IModel model,
            [NotNull] ILinqOperatorProvider linqOperatorProvider,
            [NotNull] IResultOperatorHandler resultOperatorHandler,
            [NotNull] IEnumerableMethodProvider enumerableMethodProvider)
            : base(
                Check.NotNull(model, "model"),
                Check.NotNull(linqOperatorProvider, "linqOperatorProvider"),
                Check.NotNull(resultOperatorHandler, "resultOperatorHandler"))
        {
            Check.NotNull(enumerableMethodProvider, "enumerableMethodProvider");

            _enumerableMethodProvider = enumerableMethodProvider;
        }