MutablePropertyExtensions.GetContainingIndexes(IMutableProperty) 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.IMutableIndex> GetContainingIndexes (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property);
static member GetContainingIndexes : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty -> seq<Microsoft.EntityFrameworkCore.Metadata.IMutableIndex>
<Extension()>
Public Function GetContainingIndexes (property As IMutableProperty) As IEnumerable(Of IMutableIndex)

Parameters

property
IMutableProperty

The property to get indexes for.

Returns

The indexes that use this property.

Applies to