Compartilhar via


RelationalQueryTranslationPostprocessor Class

Definition

A class that post-processes the translated query. This class allows to process the generated server query expression and the associated shaper expression.

This type is typically used by database providers (and other extensions). It is generally not used in application code.

public class RelationalQueryTranslationPostprocessor : Microsoft.EntityFrameworkCore.Query.QueryTranslationPostprocessor
type RelationalQueryTranslationPostprocessor = class
    inherit QueryTranslationPostprocessor
Public Class RelationalQueryTranslationPostprocessor
Inherits QueryTranslationPostprocessor
Inheritance
RelationalQueryTranslationPostprocessor

Constructors

RelationalQueryTranslationPostprocessor(QueryTranslationPostprocessorDependencies, RelationalQueryTranslationPostprocessorDependencies, QueryCompilationContext)

Creates a new instance of the RelationalQueryTranslationPostprocessor class.

RelationalQueryTranslationPostprocessor(QueryTranslationPostprocessorDependencies, RelationalQueryTranslationPostprocessorDependencies, RelationalQueryCompilationContext)

Creates a new instance of the RelationalQueryTranslationPostprocessor class.

Properties

Dependencies

Dependencies for this service.

(Inherited from QueryTranslationPostprocessor)
QueryCompilationContext

The query compilation context object for current compilation.

(Inherited from QueryTranslationPostprocessor)
RelationalDependencies

Relational provider-specific dependencies for this service.

RelationalQueryCompilationContext

The query compilation context object for current compilation.

SqlExpressionFactory
UseRelationalNulls

Methods

OptimizeSqlExpression(Expression)
Obsolete.

Optimizes the SQL expression.

Process(Expression)

Applies postprocessing transformations to the translated query.

ProcessTypeMappings(Expression)

Performs various postprocessing related to type mappings, e.g. applies inferred type mappings for queryable constants/parameters and verifies that all SqlExpression have a type mapping.

Prune(Expression)

Prunes unnecessary objects from the SQL tree, e.g. tables which aren't referenced by any column. Can be overridden by providers for provider-specific pruning.

Applies to