Udostępnij za pośrednictwem


IConventionEntityType.RemoveIndex Metoda

Definicja

Przeciążenia

RemoveIndex(IConventionIndex)

Usuwa indeks z tego typu jednostki.

RemoveIndex(IReadOnlyIndex)

Usuwa indeks z tego typu jednostki.

RemoveIndex(IReadOnlyList<IReadOnlyProperty>)

Usuwa indeks z tego typu jednostki.

RemoveIndex(IConventionIndex)

Usuwa indeks z tego typu jednostki.

public void RemoveIndex (Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index);
public Microsoft.EntityFrameworkCore.Metadata.IConventionIndex RemoveIndex (Microsoft.EntityFrameworkCore.Metadata.IConventionIndex index);
abstract member RemoveIndex : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex -> unit
abstract member RemoveIndex : Microsoft.EntityFrameworkCore.Metadata.IConventionIndex -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
Public Sub RemoveIndex (index As IConventionIndex)
Public Function RemoveIndex (index As IConventionIndex) As IConventionIndex

Parametry

index
IConventionIndex

Indeks do usunięcia.

Zwraca

Usunięty indeks.

Dotyczy

RemoveIndex(IReadOnlyIndex)

Usuwa indeks z tego typu jednostki.

public Microsoft.EntityFrameworkCore.Metadata.IConventionIndex? RemoveIndex (Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex index);
abstract member RemoveIndex : Microsoft.EntityFrameworkCore.Metadata.IReadOnlyIndex -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
Public Function RemoveIndex (index As IReadOnlyIndex) As IConventionIndex

Parametry

index
IReadOnlyIndex

Indeks do usunięcia.

Zwraca

Usunięty indeks lub null jeśli indeks nie został znaleziony.

Dotyczy

RemoveIndex(IReadOnlyList<IReadOnlyProperty>)

Usuwa indeks z tego typu jednostki.

public Microsoft.EntityFrameworkCore.Metadata.IConventionIndex? RemoveIndex (System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> properties);
abstract member RemoveIndex : System.Collections.Generic.IReadOnlyList<Microsoft.EntityFrameworkCore.Metadata.IReadOnlyProperty> -> Microsoft.EntityFrameworkCore.Metadata.IConventionIndex
Public Function RemoveIndex (properties As IReadOnlyList(Of IReadOnlyProperty)) As IConventionIndex

Parametry

properties
IReadOnlyList<IReadOnlyProperty>

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

Zwraca

Indeks, który został usunięty.

Dotyczy