Share via


QueryRootProcessor Class

Definition

A visitor which adds additional query root nodes during preprocessing.

[System.Runtime.CompilerServices.Nullable(0)]
public class QueryRootProcessor : System.Linq.Expressions.ExpressionVisitor
[<System.Runtime.CompilerServices.Nullable(0)>]
type QueryRootProcessor = class
    inherit ExpressionVisitor
Public Class QueryRootProcessor
Inherits ExpressionVisitor
Inheritance
QueryRootProcessor
Derived
Attributes

Constructors

Name Description
QueryRootProcessor(QueryTranslationPreprocessorDependencies, QueryCompilationContext)

Creates a new instance of the QueryRootProcessor class with associated query provider.

Methods

Name Description
ShouldConvertToInlineQueryRoot(Expression)

Determines whether a Expression should be converted to a InlineQueryRootExpression.

ShouldConvertToInlineQueryRoot(NewArrayExpression)

Determines whether a ConstantExpression should be converted to a InlineQueryRootExpression. This handles cases inline expressions whose elements are all constants.

ShouldConvertToParameterQueryRoot(ParameterExpression)

Determines whether a ParameterExpression should be converted to a ParameterQueryRootExpression.

ShouldConvertToParameterQueryRoot(QueryParameterExpression)

Determines whether a QueryParameterExpression should be converted to a ParameterQueryRootExpression.

VisitMethodCall(MethodCallExpression)

Visits the children of the MethodCallExpression.

Applies to