KeyExtensions.GetKeyType(IKey) 方法

定義

傳回簡單索引鍵的索引鍵屬性類型,或複合索引鍵的物件陣列。

public static Type GetKeyType (this Microsoft.EntityFrameworkCore.Metadata.IKey key);
static member GetKeyType : Microsoft.EntityFrameworkCore.Metadata.IKey -> Type
<Extension()>
Public Function GetKeyType (key As IKey) As Type

參數

key
IKey

金鑰中繼資料。

傳回

索引鍵類型。

適用於