/// <summary>
 ///     Creates a new instance of the <see cref="QueryTranslationPostprocessor" /> 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 QueryTranslationPostprocessor(
     QueryTranslationPostprocessorDependencies dependencies,
     QueryCompilationContext queryCompilationContext)
 {
     Dependencies            = dependencies;
     QueryCompilationContext = queryCompilationContext;
 }
 /// <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 SqliteQueryTranslationPostprocessor(
     [NotNull] QueryTranslationPostprocessorDependencies dependencies,
     [NotNull] RelationalQueryTranslationPostprocessorDependencies relationalDependencies,
     [NotNull] QueryCompilationContext queryCompilationContext)
     : base(dependencies, relationalDependencies, queryCompilationContext)
 {
 }
 public SqlServerQueryTranslationPostprocessor(
     QueryTranslationPostprocessorDependencies dependencies,
     RelationalQueryTranslationPostprocessorDependencies relationalDependencies,
     QueryCompilationContext queryCompilationContext)
     : base(dependencies, relationalDependencies, queryCompilationContext)
 {
 }
 public SqlServerQueryTranslationPostprocessorFactory(
     QueryTranslationPostprocessorDependencies dependencies,
     RelationalQueryTranslationPostprocessorDependencies relationalDependencies)
 {
     _dependencies           = dependencies;
     _relationalDependencies = relationalDependencies;
 }
Ejemplo n.º 5
0
 public RelationalQueryTranslationPostprocessorFactory(
     [NotNull] QueryTranslationPostprocessorDependencies dependencies,
     [NotNull] RelationalQueryTranslationPostprocessorDependencies relationalDependencies)
 {
     _dependencies           = dependencies;
     _relationalDependencies = relationalDependencies;
 }
 /// <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 CosmosQueryTranslationPostprocessorFactory(
     QueryTranslationPostprocessorDependencies dependencies,
     ISqlExpressionFactory sqlExpressionFactory)
 {
     _dependencies         = dependencies;
     _sqlExpressionFactory = sqlExpressionFactory;
 }
Ejemplo n.º 7
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 SqliteQueryTranslationPostprocessorFactory(
     QueryTranslationPostprocessorDependencies dependencies,
     RelationalQueryTranslationPostprocessorDependencies relationalDependencies)
 {
     Dependencies           = dependencies;
     RelationalDependencies = relationalDependencies;
 }
Ejemplo n.º 8
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 CosmosQueryTranslationPostprocessor(
     QueryTranslationPostprocessorDependencies dependencies,
     ISqlExpressionFactory sqlExpressionFactory,
     QueryCompilationContext queryCompilationContext)
     : base(dependencies, queryCompilationContext)
 {
     _sqlExpressionFactory = sqlExpressionFactory;
 }
Ejemplo n.º 9
0
 public RelationalQueryTranslationPostprocessorFactory(
     QueryTranslationPostprocessorDependencies dependencies,
     RelationalQueryTranslationPostprocessorDependencies relationalDependencies)
     : base(dependencies, relationalDependencies)
 {
     _dependencies           = dependencies;
     _relationalDependencies = relationalDependencies;
 }
Ejemplo n.º 10
0
 public MySqlQueryTranslationPostprocessorFactory(
     QueryTranslationPostprocessorDependencies dependencies,
     RelationalQueryTranslationPostprocessorDependencies relationalDependencies,
     IMySqlConnectionInfo connectionInfo)
 {
     _dependencies           = dependencies;
     _relationalDependencies = relationalDependencies;
     _connectionInfo         = connectionInfo;
 }
Ejemplo n.º 11
0
 public MySqlQueryTranslationPostprocessor(
     QueryTranslationPostprocessorDependencies dependencies,
     RelationalQueryTranslationPostprocessorDependencies relationalDependencies,
     QueryCompilationContext queryCompilationContext,
     IMySqlOptions options)
     : base(dependencies, relationalDependencies, queryCompilationContext)
 {
     _options = options;
 }
 public MySqlQueryTranslationPostprocessor(
     QueryTranslationPostprocessorDependencies dependencies,
     RelationalQueryTranslationPostprocessorDependencies relationalDependencies,
     QueryCompilationContext queryCompilationContext,
     IMySqlConnectionInfo connectionInfo)
     : base(dependencies, relationalDependencies, queryCompilationContext)
 {
     _connectionInfo = connectionInfo;
 }
Ejemplo n.º 13
0
 public MySQLQueryTranslationPostprocessorFactory(
     QueryTranslationPostprocessorDependencies dependencies,
     RelationalQueryTranslationPostprocessorDependencies relationalDependencies,
     IMySQLOptions options)
 {
     _dependencies           = dependencies;
     _relationalDependencies = relationalDependencies;
     _options = options;
 }
 /// <summary>
 ///     Creates a new instance of the <see cref="RelationalQueryTranslationPostprocessor" /> 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 RelationalQueryTranslationPostprocessor(
     QueryTranslationPostprocessorDependencies dependencies,
     RelationalQueryTranslationPostprocessorDependencies relationalDependencies,
     QueryCompilationContext queryCompilationContext)
     : base(dependencies, queryCompilationContext)
 {
     RelationalDependencies = relationalDependencies;
     _useRelationalNulls    = RelationalOptionsExtension.Extract(queryCompilationContext.ContextOptions).UseRelationalNulls;
 }
        /// <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 CosmosQueryTranslationPostprocessor(
            QueryTranslationPostprocessorDependencies dependencies,
            ISqlExpressionFactory sqlExpressionFactory,
            QueryCompilationContext queryCompilationContext)
            : base(dependencies, queryCompilationContext)
        {
            Check.NotNull(sqlExpressionFactory, nameof(sqlExpressionFactory));

            _sqlExpressionFactory = sqlExpressionFactory;
        }
Ejemplo n.º 16
0
 public MySqlQueryTranslationPostprocessorFactory(
     QueryTranslationPostprocessorDependencies dependencies,
     RelationalQueryTranslationPostprocessorDependencies relationalDependencies,
     IMySqlOptions options,
     ISqlExpressionFactory sqlExpressionFactory)
 {
     _dependencies           = dependencies;
     _relationalDependencies = relationalDependencies;
     _options = options;
     _sqlExpressionFactory = (MySqlSqlExpressionFactory)sqlExpressionFactory;
 }
Ejemplo n.º 17
0
        public RelationalQueryTranslationPostprocessor(
            QueryTranslationPostprocessorDependencies dependencies,
            RelationalQueryTranslationPostprocessorDependencies relationalDependencies,
            QueryCompilationContext queryCompilationContext)
            : base(dependencies, relationalDependencies, queryCompilationContext)
        {
            _sqlExpressionOptimizingExpressionVisitor
                = new SqlExpressionOptimizingExpressionVisitor(SqlExpressionFactory, UseRelationalNulls);

            _sqlExpressionFactory = SqlExpressionFactory as ISqlExpressionFactoryWithCrossDb;
        }
 public JetQueryTranslationPostprocessor(
     QueryTranslationPostprocessorDependencies dependencies,
     RelationalQueryTranslationPostprocessorDependencies relationalDependencies,
     QueryCompilationContext queryCompilationContext,
     IRelationalTypeMappingSource relationalTypeMappingSource,
     IJetOptions options)
     : base(dependencies, relationalDependencies, queryCompilationContext)
 {
     _relationalTypeMappingSource = relationalTypeMappingSource;
     _options = options;
 }
 public MySqlQueryTranslationPostprocessor(
     QueryTranslationPostprocessorDependencies dependencies,
     RelationalQueryTranslationPostprocessorDependencies relationalDependencies,
     QueryCompilationContext queryCompilationContext,
     IMySqlOptions options,
     MySqlSqlExpressionFactory sqlExpressionFactory)
     : base(dependencies, relationalDependencies, queryCompilationContext)
 {
     _options = options;
     _sqlExpressionFactory = sqlExpressionFactory;
 }
Ejemplo n.º 20
0
 public JetQueryTranslationPostprocessorFactory(
     QueryTranslationPostprocessorDependencies dependencies,
     RelationalQueryTranslationPostprocessorDependencies relationalDependencies,
     IRelationalTypeMappingSource relationalTypeMappingSource,
     IJetOptions options)
 {
     _dependencies                = dependencies;
     _relationalDependencies      = relationalDependencies;
     _relationalTypeMappingSource = relationalTypeMappingSource;
     _options = options;
 }
Ejemplo n.º 21
0
 public InMemoryQueryTranslationPostprocessor([NotNull] QueryTranslationPostprocessorDependencies dependencies)
     : base(dependencies)
 {
 }
Ejemplo n.º 22
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 QueryTranslationPostprocessorFactory(QueryTranslationPostprocessorDependencies dependencies)
 {
     Dependencies = dependencies;
 }
Ejemplo n.º 23
0
 public FileContextQueryTranslationPostprocessorFactory(QueryTranslationPostprocessorDependencies dependencies)
 {
     _dependencies = dependencies;
 }
Ejemplo n.º 24
0
 public QueryTranslationPostprocessorFactory([NotNull] QueryTranslationPostprocessorDependencies dependencies)
 {
     _dependencies = dependencies;
 }
Ejemplo n.º 25
0
 public HarmonyQueryTranslationPostprocessor(HarmonyQueryCompilationContext compilationContext, QueryTranslationPostprocessorDependencies dependencies)
     : base(dependencies)
 {
     _compilationContext = compilationContext;
 }
 public HarmonyQueryTranslationPostprocessorFactory(QueryTranslationPostprocessorDependencies dependencies)
 {
     _dependencies = dependencies;
 }
 public FileContextQueryTranslationPostprocessor(QueryTranslationPostprocessorDependencies dependencies)
     : base(dependencies)
 {
 }