RelationalQueryRootProcessor Class

Definition

A visitor which adds additional query root nodes during preprocessing.

C#
public class RelationalQueryRootProcessor : Microsoft.EntityFrameworkCore.Query.QueryRootProcessor
Inheritance
RelationalQueryRootProcessor

Constructors

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

Toode Versioonid
Entity Framework Core 8.0, 9.0