Поделиться через


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

Исходный источник запроса.

Возвращаемое значение

Индекс проекции.

Применяется к