語言

EntityQueryModelVisitor.CreatePropertyExpression 方法

定義

建立一個表達式來存取給定實體上的該屬性。

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

參數

target
Expression

實體。

property
IProperty

要進入的財產。

傳回

新創造的表情。

適用於