SelectExpression.GetProjectionIndex(IProperty, IQuerySource) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
計算對應所提供屬性與查詢來源的 Projection 索引。
public virtual int GetProjectionIndex(Microsoft.EntityFrameworkCore.Metadata.IProperty property, Remotion.Linq.Clauses.IQuerySource querySource);
abstract member GetProjectionIndex : Microsoft.EntityFrameworkCore.Metadata.IProperty * Remotion.Linq.Clauses.IQuerySource -> int
override this.GetProjectionIndex : Microsoft.EntityFrameworkCore.Metadata.IProperty * Remotion.Linq.Clauses.IQuerySource -> int
Public Overridable Function GetProjectionIndex (property As IProperty, querySource As IQuerySource) As Integer
參數
- property
- IProperty
對應的EF性質。
- querySource
- Remotion.Linq.Clauses.IQuerySource
原始查詢來源。
傳回
預測指數。