SelectExpression.GetProjectionIndex(IProperty, IQuerySource) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Entity Framework