RuntimeModelConvention.GetIndex(IIndex, RuntimeEntityType) 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.
Gets the corresponding index in the read-optimized model.
protected virtual Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex GetIndex (Microsoft.EntityFrameworkCore.Metadata.IIndex index, Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType entityType);
abstract member GetIndex : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType -> Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex
override this.GetIndex : Microsoft.EntityFrameworkCore.Metadata.IIndex * Microsoft.EntityFrameworkCore.Metadata.RuntimeEntityType -> Microsoft.EntityFrameworkCore.Metadata.RuntimeIndex
Protected Overridable Function GetIndex (index As IIndex, entityType As RuntimeEntityType) As RuntimeIndex
Parameters
- index
- IIndex
The original index.
- entityType
- RuntimeEntityType
The declaring entity type.
Returns
The corresponding read-optimized 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