Share via


RelationalQueryRootProcessor Class

Definition

A visitor which adds additional query root nodes during preprocessing.

public class RelationalQueryRootProcessor : Microsoft.EntityFrameworkCore.Query.QueryRootProcessor
type RelationalQueryRootProcessor = class
    inherit QueryRootProcessor
Public Class RelationalQueryRootProcessor
Inherits QueryRootProcessor
Inheritance
RelationalQueryRootProcessor

Constructors

RelationalQueryRootProcessor(QueryTranslationPreprocessorDependencies, RelationalQueryTranslationPreprocessorDependencies, QueryCompilationContext)

Creates a new instance of the RelationalQueryRootProcessor class.

Methods

ShouldConvertToInlineQueryRoot(NewArrayExpression)

Indicates that a ConstantExpression can be converted to a InlineQueryRootExpression; the latter will end up in VisitInlineQueryRoot(InlineQueryRootExpression) for translation to a SQL ValuesExpression.

ShouldConvertToParameterQueryRoot(ParameterExpression)

Indicates that a ParameterExpression can be converted to a ParameterQueryRootExpression; the latter will end up in TranslatePrimitiveCollection(SqlExpression, IProperty, String) for translation to a provider-specific SQL expansion mechanism, e.g. OPENJSON on SQL Server.

VisitExtension(Expression)

Visits the children of the extension expression.

VisitMethodCall(MethodCallExpression)

Visits the children of the MethodCallExpression.

Applies to