ConventionPropertyExtensions.GetContainingIndexes(IConventionProperty) Méthode

Définition

Obtient tous les index qui utilisent cette propriété (y compris les index composites dans lesquels cette propriété est incluse).

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IConventionIndex> GetContainingIndexes (this Microsoft.EntityFrameworkCore.Metadata.IConventionProperty property);
static member GetContainingIndexes : Microsoft.EntityFrameworkCore.Metadata.IConventionProperty -> seq<Microsoft.EntityFrameworkCore.Metadata.IConventionIndex>
<Extension()>
Public Function GetContainingIndexes (property As IConventionProperty) As IEnumerable(Of IConventionIndex)

Paramètres

property
IConventionProperty

Propriété pour laquelle obtenir les index.

Retours

Index qui utilisent cette propriété.

S’applique à