Freigeben über


EntityQueryModelVisitor.CreatePropertyExpression Methode

Definition

Erstellt einen Ausdruck für den Zugriff auf die angegebene Eigenschaft für eine bestimmte Entität.

public static System.Linq.Expressions.Expression CreatePropertyExpression (System.Linq.Expressions.Expression target, Microsoft.EntityFrameworkCore.Metadata.IProperty property);
static member CreatePropertyExpression : System.Linq.Expressions.Expression * Microsoft.EntityFrameworkCore.Metadata.IProperty -> System.Linq.Expressions.Expression
Public Shared Function CreatePropertyExpression (target As Expression, property As IProperty) As Expression

Parameter

target
Expression

Die Entität.

property
IProperty

Die Eigenschaft, auf die zugegriffen werden soll.

Gibt zurück

Der neu erstellte Ausdruck.

Gilt für: