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

原始查询源。

返回

投影索引。

适用于