public RelationalQueryTranslationPreprocessorFactory(
     QueryTranslationPreprocessorDependencies dependencies,
     RelationalQueryTranslationPreprocessorDependencies relationalDependencies)
 {
     _dependencies           = dependencies;
     _relationalDependencies = relationalDependencies;
 }
 public CustomQueryTranslationPreprocessorFactory(QueryTranslationPreprocessorDependencies dependencies,
                                                  RelationalQueryTranslationPreprocessorDependencies relationalDependencies, IServiceLocator serviceLocator)
 {
     Dependencies           = dependencies;
     RelationalDependencies = relationalDependencies;
     this.serviceLocator    = serviceLocator;
 }
Ejemplo n.º 3
0
 public CustomQueryTranslationPreprocessorFactory(
     QueryTranslationPreprocessorDependencies dependencies,
     RelationalQueryTranslationPreprocessorDependencies relationalDependencies)
 {
     Dependencies           = dependencies;
     RelationalDependencies = relationalDependencies;
 }
Ejemplo n.º 4
0
 /// <summary>
 ///     This is an internal API that supports the Entity Framework Core infrastructure and not subject to
 ///     the same compatibility standards as public APIs. It may be changed or removed without notice in
 ///     any release. You should only use it directly in your code with extreme caution and knowing that
 ///     doing so can result in application failures when updating to a new Entity Framework Core release.
 /// </summary>
 public CosmosQueryTranslationPreprocessor(
     QueryTranslationPreprocessorDependencies dependencies,
     CosmosQueryCompilationContext cosmosQueryCompilationContext)
     : base(dependencies, cosmosQueryCompilationContext)
 {
     _queryCompilationContext = cosmosQueryCompilationContext;
 }
 /// <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="queryCompilationContext">The query compilation context object to use.</param>
 public QueryTranslationPreprocessor(
     QueryTranslationPreprocessorDependencies dependencies,
     QueryCompilationContext queryCompilationContext)
 {
     Dependencies            = dependencies;
     QueryCompilationContext = queryCompilationContext;
 }
Ejemplo n.º 6
0
 public CustomQueryTranslationPreprocessor(
     [NotNull] QueryTranslationPreprocessorDependencies dependencies,
     [NotNull] RelationalQueryTranslationPreprocessorDependencies relationalDependencies,
     [NotNull] QueryCompilationContext queryCompilationContext)
     : base(dependencies, relationalDependencies, queryCompilationContext)
 {
     _relationalQueryCompilationContext = (RelationalQueryCompilationContext)queryCompilationContext;
 }
Ejemplo n.º 7
0
 public ExpandableQueryTranslationPreprocessorFactory(ExpandableQueryTranslationPreprocessorOptions options,
                                                      QueryTranslationPreprocessorDependencies dependencies,
                                                      TInnerFactory innerFactory)
 {
     _options      = options ?? throw new ArgumentNullException(nameof(options));
     _dependencies = dependencies ?? throw new ArgumentNullException(nameof(dependencies));
     _innerFactory = innerFactory ?? throw new ArgumentNullException(nameof(innerFactory));
 }
Ejemplo n.º 8
0
 public CustomQueryTranslationPreprocessor(QueryTranslationPreprocessorDependencies dependencies,
                                           RelationalQueryTranslationPreprocessorDependencies relationalDependencies,
                                           QueryCompilationContext queryCompilationContext,
                                           IQueryTranslationPlugin[] translationPlugins)
     : base(dependencies, relationalDependencies, queryCompilationContext)
 {
     this.translationPlugins = translationPlugins;
 }
Ejemplo n.º 9
0
 public RelationalQueryTranslationPreprocessor(
     QueryTranslationPreprocessorDependencies dependencies,
     RelationalQueryTranslationPreprocessorDependencies relationalDependencies,
     QueryCompilationContext queryCompilationContext)
     : base(dependencies, queryCompilationContext)
 {
     RelationalDependencies = relationalDependencies;
 }
Ejemplo n.º 10
0
 public ExpandableQueryTranslationPreprocessor(ExpandableQueryTranslationPreprocessorOptions options,
                                               QueryTranslationPreprocessorDependencies dependencies,
                                               QueryCompilationContext queryCompilationContext,
                                               QueryTranslationPreprocessor innerPreprocessor)
     : base(dependencies, queryCompilationContext)
 {
     _options           = options ?? throw new ArgumentNullException(nameof(options));
     _innerPreprocessor = innerPreprocessor ?? throw new ArgumentNullException(nameof(innerPreprocessor));
 }
Ejemplo n.º 11
0
 public RelationalQueryTranslationPreprocessorFactory(
     [NotNull] QueryTranslationPreprocessorDependencies dependencies,
     [NotNull] RelationalQueryTranslationPreprocessorDependencies relationalDependencies,
     [NotNull] INavigationExpandingExpressionVisitorFactory navigationExpandingExpressionVisitorFactory)
 {
     _dependencies           = dependencies;
     _relationalDependencies = relationalDependencies;
     _navigationExpandingExpressionVisitorFactory = navigationExpandingExpressionVisitorFactory;
 }
Ejemplo n.º 12
0
 /// <summary>
 ///     This is an internal API that supports the Entity Framework Core infrastructure and not subject to
 ///     the same compatibility standards as public APIs. It may be changed or removed without notice in
 ///     any release. You should only use it directly in your code with extreme caution and knowing that
 ///     doing so can result in application failures when updating to a new Entity Framework Core release.
 /// </summary>
 public CosmosQueryTranslationPreprocessorFactory(
     QueryTranslationPreprocessorDependencies dependencies)
 {
     Check.NotNull(dependencies, nameof(dependencies));
     _dependencies = dependencies;
 }
Ejemplo n.º 13
0
 public QueryTranslationPreprocessorFactory(QueryTranslationPreprocessorDependencies dependencies)
 {
     _dependencies = dependencies;
 }
 public HarmonyQueryTranslationPreprocessorFactory(
     QueryTranslationPreprocessorDependencies dependencies) : base(dependencies)
 {
     _dependencies = dependencies;
 }
 public HarmonyQueryTranslationPreprocessor(QueryTranslationPreprocessorDependencies dependencies, QueryCompilationContext queryCompilationContext) : base(dependencies, queryCompilationContext)
 {
     _queryCompilationContext = queryCompilationContext;
 }