SelectExpression.GetProjectionIndex(IProperty, IQuerySource) Method

Definition

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

C#
public virtual int GetProjectionIndex (Microsoft.EntityFrameworkCore.Metadata.IProperty property, Remotion.Linq.Clauses.IQuerySource querySource);

Parameters

property
IProperty

The corresponding EF property.

querySource
Remotion.Linq.Clauses.IQuerySource

The originating query source.

Returns

The projection index.

Applies to

Продукт Версії
Entity Framework Core 1.0, 1.1, 2.0, 2.1, 2.2