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

Parameters

property
IProperty

The property to get indexes for.

Returns

The indexes that use this property.

Applies to