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

Constructors

QueryTranslationPreprocessor(QueryTranslationPreprocessorDependencies, QueryCompilationContext)

Creates a new instance of the QueryTranslationPreprocessor class.

Properties

Dependencies

Parameter object containing service dependencies.

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