QueryTranslationPreprocessor Class

Definition

A class that preprocesses the query before translation.

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

public class QueryTranslationPreprocessor
type QueryTranslationPreprocessor = class
Public Class QueryTranslationPreprocessor
Inheritance
QueryTranslationPreprocessor
Derived

Remarks

See Implementation of database providers and extensions and How EF Core queries work for more information.

Constructors

QueryTranslationPreprocessor(QueryTranslationPreprocessorDependencies, QueryCompilationContext)

Creates a new instance of the QueryTranslationPreprocessor class.

Properties

Dependencies

Dependencies for this service.

QueryCompilationContext

The query compilation context object for current compilation.

Methods

NormalizeQueryableMethod(Expression)

Normalizes queryable methods in the query.

This method extracts query metadata information like tracking, ignore query filters. It also converts potential enumerable methods on navigation to queryable methods. It flattens patterns of GroupJoin-SelectMany patterns to appropriate Join/LeftJoin.

Process(Expression)

Applies preprocessing transformations to the query.

Applies to