Udostępnij za pośrednictwem


MutableEntityTypeExtensions.RemoveIndex Metoda

Definicja

Usuwa indeks z tego typu jednostki.

public static Microsoft.EntityFrameworkCore.Metadata.IMutableIndex RemoveIndex (this Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType entityType, System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty> properties);
static member RemoveIndex : Microsoft.EntityFrameworkCore.Metadata.IMutableEntityType * System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IMutableProperty> -> Microsoft.EntityFrameworkCore.Metadata.IMutableIndex
<Extension()>
Public Function RemoveIndex (entityType As IMutableEntityType, properties As IReadOnlyList(Of IMutableProperty)) As IMutableIndex

Parametry

entityType
IMutableEntityType

Typ jednostki.

properties
IReadOnlyList<IMutableProperty>

Właściwości tworzące indeks.

Zwraca

Indeks, który został usunięty.

Dotyczy