Freigeben über


RelationalQueryRootProcessor Klasse

Definition

Ein Besucher, der während der Vorverarbeitung zusätzliche Abfragestammknoten hinzufügt.

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

Konstruktoren

RelationalQueryRootProcessor(QueryTranslationPreprocessorDependencies, RelationalQueryTranslationPreprocessorDependencies, QueryCompilationContext)

Erstellt eine neue Instanz der RelationalQueryRootProcessor-Klasse.

Methoden

ShouldConvertToInlineQueryRoot(NewArrayExpression)

Gibt an, dass ein ConstantExpression in ein InlineQueryRootExpressionkonvertiert werden kann. Letzteres wird für die Übersetzung in VisitInlineQueryRoot(InlineQueryRootExpression) eine SQL-Datei ValuesExpressionverwendet.

ShouldConvertToParameterQueryRoot(ParameterExpression)

Gibt an, dass ein ParameterExpression in eine ParameterQueryRootExpressionkonvertiert werden kann. Letzteres wird für die Übersetzung in TranslatePrimitiveCollection(SqlExpression, IProperty, String) einen anbieterspezifischen SQL-Erweiterungsmechanismus verwendet, z. B. OPENJSON auf SQL Server.

VisitExtension(Expression)

Ein Besucher, der während der Vorverarbeitung zusätzliche Abfragestammknoten hinzufügt.

VisitMethodCall(MethodCallExpression)

Ein Besucher, der während der Vorverarbeitung zusätzliche Abfragestammknoten hinzufügt.

Gilt für: