MutablePropertyExtensions.GetContainingKeys(IMutableProperty) 方法

定義

取得使用此屬性的所有主要或替代索引鍵, (包含此屬性的複合索引鍵) 。

public static System.Collections.Generic.IEnumerable<Microsoft.EntityFrameworkCore.Metadata.IMutableKey> GetContainingKeys (this Microsoft.EntityFrameworkCore.Metadata.IMutableProperty property);
static member GetContainingKeys : Microsoft.EntityFrameworkCore.Metadata.IMutableProperty -> seq<Microsoft.EntityFrameworkCore.Metadata.IMutableKey>
<Extension()>
Public Function GetContainingKeys (property As IMutableProperty) As IEnumerable(Of IMutableKey)

參數

property
IMutableProperty

要取得主要和替代索引鍵的屬性。

傳回

使用此屬性的主要和替代索引鍵。

適用於