Dela via


SelectExpression.GetProjectionIndex(IProperty, IQuerySource) Method

Definition

Computes the index in Projection corresponding to the supplied property and query source.

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

Parameters

property
IProperty

The corresponding EF property.

querySource
Remotion.Linq.Clauses.IQuerySource

The originating query source.

Returns

The projection index.

Applies to