public QueryTranslationPreprocessor(
     QueryTranslationPreprocessorDependencies dependencies,
     QueryCompilationContext queryCompilationContext)
 {
     Dependencies             = dependencies;
     _queryCompilationContext = queryCompilationContext;
 }
 /// <summary>
 ///     Creates a new instance of the <see cref="QueryTranslationPreprocessor" /> class.
 /// </summary>
 /// <param name="dependencies">Parameter object containing dependencies for this class.</param>
 /// <param name="relationalDependencies">Parameter object containing relational dependencies for this class.</param>
 /// <param name="queryCompilationContext">The query compilation context object to use.</param>
 public RelationalQueryTranslationPreprocessor(
     QueryTranslationPreprocessorDependencies dependencies,
     RelationalQueryTranslationPreprocessorDependencies relationalDependencies,
     QueryCompilationContext queryCompilationContext)
     : base(dependencies, queryCompilationContext)
 {
     RelationalDependencies             = relationalDependencies;
     _relationalQueryCompilationContext = (RelationalQueryCompilationContext)queryCompilationContext;
 }
Exemplo n.º 3
0
        public QueryTranslationPreprocessor(
            [NotNull] QueryTranslationPreprocessorDependencies dependencies,
            [NotNull] QueryCompilationContext queryCompilationContext)
        {
            Check.NotNull(dependencies, nameof(dependencies));
            Check.NotNull(queryCompilationContext, nameof(queryCompilationContext));

            Dependencies             = dependencies;
            _queryCompilationContext = queryCompilationContext;
        }
        public RelationalQueryTranslationPreprocessor(
            [NotNull] QueryTranslationPreprocessorDependencies dependencies,
            [NotNull] RelationalQueryTranslationPreprocessorDependencies relationalDependencies,
            [NotNull] QueryCompilationContext queryCompilationContext)
            : base(dependencies, queryCompilationContext)
        {
            Check.NotNull(relationalDependencies, nameof(relationalDependencies));

            RelationalDependencies = relationalDependencies;
        }
Exemplo n.º 5
0
        public RelationalQueryTranslationPreprocessor(
            [NotNull] QueryTranslationPreprocessorDependencies dependencies,
            [NotNull] RelationalQueryTranslationPreprocessorDependencies relationalDependencies,
            [NotNull] QueryCompilationContext queryCompilationContext,
            [NotNull] INavigationExpandingExpressionVisitorFactory navigationExpandingExpressionVisitorFactory)
            : base(dependencies, queryCompilationContext, navigationExpandingExpressionVisitorFactory)
        {
            Check.NotNull(relationalDependencies, nameof(relationalDependencies));

            RelationalDependencies = relationalDependencies;
        }
        public QueryTranslationPreprocessor(
            [NotNull] QueryTranslationPreprocessorDependencies dependencies,
            [NotNull] QueryCompilationContext queryCompilationContext,
            [NotNull] INavigationExpandingExpressionVisitorFactory navigationExpandingExpressionVisitorFactory)
        {
            Check.NotNull(dependencies, nameof(dependencies));
            Check.NotNull(queryCompilationContext, nameof(queryCompilationContext));

            Dependencies             = dependencies;
            _queryCompilationContext = queryCompilationContext;
            _navigationExpandingExpressionVisitorFactory = navigationExpandingExpressionVisitorFactory;
        }