Udostępnij za pośrednictwem


ConventionEntityTypeExtensions.RemoveIndex Metoda

Definicja

Usuwa indeks z tego typu jednostki.

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

Parametry

entityType
IConventionEntityType

Typ jednostki.

properties
IReadOnlyList<IConventionProperty>

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

Zwraca

Indeks, który został usunięty.

Dotyczy