Compartilhar via


QueryRootProcessor Class

Definition

A visitor which adds additional query root nodes during preprocessing.

public class QueryRootProcessor : System.Linq.Expressions.ExpressionVisitor
type QueryRootProcessor = class
    inherit ExpressionVisitor
Public Class QueryRootProcessor
Inherits ExpressionVisitor
Inheritance
QueryRootProcessor
Derived

Constructors

QueryRootProcessor(QueryTranslationPreprocessorDependencies, QueryCompilationContext)

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

Methods

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.

VisitMethodCall(MethodCallExpression)

Visits the children of the MethodCallExpression.

Applies to