Share via


ConventionPropertyExtensions.GetContainingIndexes(IConventionProperty) Method

Definition

Gets all indexes that use this property (including composite indexes in which this property is included).

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)

Parameters

property
IConventionProperty

The property to get indexes for.

Returns

The indexes that use this property.

Applies to