SelectExpression.BindProperty(IProperty, IQuerySource) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
產生系結至所提供屬性之這個選取運算式的運算式。
public virtual System.Linq.Expressions.Expression BindProperty (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Remotion.Linq.Clauses.IQuerySource querySource);
abstract member BindProperty : Microsoft.EntityFrameworkCore.Metadata.IProperty * Remotion.Linq.Clauses.IQuerySource -> System.Linq.Expressions.Expression
override this.BindProperty : Microsoft.EntityFrameworkCore.Metadata.IProperty * Remotion.Linq.Clauses.IQuerySource -> System.Linq.Expressions.Expression
Public Overridable Function BindProperty (property As IProperty, querySource As IQuerySource) As Expression
參數
- property
- IProperty
對應的 EF 屬性。
- querySource
- Remotion.Linq.Clauses.IQuerySource
原始查詢來源。
傳回
系結運算式,可用來參考這個選取運算式中的資料行。