Udostępnij za pośrednictwem


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(Expression)

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

ShouldConvertToInlineQueryRoot(Expression)

Determines whether a Expression should be converted to a InlineQueryRootExpression.

(Inherited from QueryRootProcessor)
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.

ShouldConvertToInlineQueryRoot(NewArrayExpression)

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

(Inherited from QueryRootProcessor)
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