Partager via


IConventionEntityType.RemoveIndex Méthode

Définition

Surcharges

RemoveIndex(IConventionIndex)

Supprime un index de ce type d’entité.

RemoveIndex(IReadOnlyIndex)

Supprime un index de ce type d’entité.

RemoveIndex(IReadOnlyList<IReadOnlyProperty>)

Supprime un index de ce type d’entité.

RemoveIndex(IConventionIndex)

Supprime un index de ce type d’entité.

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

Paramètres

index
IConventionIndex

Index à supprimer.

Retours

Index supprimé.

S’applique à

RemoveIndex(IReadOnlyIndex)

Supprime un index de ce type d’entité.

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

Paramètres

index
IReadOnlyIndex

Index à supprimer.

Retours

Index supprimé ou null si l’index est introuvable.

S’applique à

RemoveIndex(IReadOnlyList<IReadOnlyProperty>)

Supprime un index de ce type d’entité.

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

Paramètres

properties
IReadOnlyList<IReadOnlyProperty>

Propriétés qui composent l’index.

Retours

Index supprimé.

S’applique à