MutablePropertyExtensions.GetContainingIndexes(IMutableProperty) 方法

定義

取得使用此屬性的所有索引, (包含此屬性的複合式索引) 。

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)

參數

property
IMutableProperty

要為其取得索引的屬性。

傳回

使用這個屬性的索引。

適用於