ConventionPropertyExtensions.GetContainingIndexes(IConventionProperty) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得所有使用此屬性的索引(包括包含此屬性的複合索引)。
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)
參數
- property
- IConventionProperty
取得索引的屬性。
傳回
使用此特性的索引。