語言

SelectExpression.GetProjectionIndex(IProperty, IQuerySource) 方法

定義

計算對應所提供屬性與查詢來源的 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

原始查詢來源。

傳回

預測指數。

適用於