Bagikan melalui


SelectExpression.GetProjectionIndex(IProperty, IQuerySource) Metode

Definisi

Menghitung indeks Projection yang sesuai dengan properti dan sumber kueri yang disediakan.

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

Parameter

property
IProperty

Properti EF yang sesuai.

querySource
Remotion.Linq.Clauses.IQuerySource

Sumber kueri asal.

Mengembalikan

Indeks proyeksi.

Berlaku untuk