共用方式為


SelectExpression.BindProperty(IProperty, IQuerySource) 方法

定義

產生系結至所提供屬性之這個選取運算式的運算式。

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

原始查詢來源。

傳回

系結運算式,可用來參考這個選取運算式中的資料行。

適用於