Bagikan melalui


RuntimeModelConvention.GetIndex(IIndex, RuntimeEntityType) Metode

Definisi

Mendapatkan indeks yang sesuai dalam model yang dioptimalkan untuk dibaca.

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

Parameter

index
IIndex

Indeks asli.

entityType
RuntimeEntityType

Jenis entitas yang mendeklarasikan.

Mengembalikan

Indeks baca-dioptimalkan yang sesuai.

Berlaku untuk