RelationalQueryTranslationPostprocessor Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Constructors
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. |