Partager via


ConventionEntityTypeExtensions.RemoveIndex Méthode

Définition

Supprime un index de ce type d’entité.

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

Paramètres

entityType
IConventionEntityType

Type d'entité.

properties
IReadOnlyList<IConventionProperty>

Propriétés qui composent l’index.

Retours

Index qui a été supprimé.

S’applique à