EntityQueryModelVisitor.CreatePropertyExpression 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
建立一個表達式來存取給定實體上的該屬性。
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
要進入的財產。
傳回
新創造的表情。