Esempio n. 1
0
        public QueryCompilationContext2 Create(bool async)
        {
            var queryCompilationContext = new QueryCompilationContext2(
                _model,
                _queryOptimizerFactory,
                _entityQueryableTranslatorFactory,
                _queryableMethodTranslatingExpressionVisitorFactory,
                _shapedQueryOptimizerFactory,
                _shapedQueryCompilingExpressionVisitorFactory,
                _currentDbContext,
                async);

            return(queryCompilationContext);
        }
 public QueryMetadataExtractingExpressionVisitor(QueryCompilationContext2 queryCompilationContext)
 {
     _queryCompilationContext = queryCompilationContext;
 }
 public QueryOptimizer(QueryCompilationContext2 queryCompilationContext)
 {
     _queryCompilationContext = queryCompilationContext;
 }