Compartilhar via


SelectExpression.GetProjectionIndex(IProperty, IQuerySource) Método

Definição

Calcula o índice em Projection correspondente à propriedade fornecida e à origem da consulta.

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

Parâmetros

property
IProperty

A propriedade EF correspondente.

querySource
Remotion.Linq.Clauses.IQuerySource

A fonte de consulta de origem.

Retornos

O índice de projeção.

Aplica-se a