/// <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;
 }
        public RelationalQueryTranslationPreprocessor(
            [NotNull] QueryTranslationPreprocessorDependencies dependencies,
            [NotNull] RelationalQueryTranslationPreprocessorDependencies relationalDependencies,
            [NotNull] QueryCompilationContext queryCompilationContext)
            : base(dependencies, queryCompilationContext)
        {
            Check.NotNull(relationalDependencies, nameof(relationalDependencies));

            RelationalDependencies = relationalDependencies;
        }
Exemple #3
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;
        }