Condividi tramite


SelectExpression.GetProjectionIndex(IProperty, IQuerySource) Metodo

Definizione

Calcola l'indice in Projection corrispondente alla proprietà fornita e all'origine della query.

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

Parametri

property
IProperty

Proprietà EF corrispondente.

querySource
Remotion.Linq.Clauses.IQuerySource

Origine della query di origine.

Restituisce

Indice di proiezione.

Si applica a