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
原始查询源。
返回
投影索引。