KeyExtensions 類別

定義

警告

Use IReadOnlyKey

IReadOnlyKey 的擴充方法。

public static class KeyExtensions
[System.Obsolete("Use IReadOnlyKey")]
public static class KeyExtensions
type KeyExtensions = class
[<System.Obsolete("Use IReadOnlyKey")>]
type KeyExtensions = class
Public Module KeyExtensions
Public Class KeyExtensions
繼承
KeyExtensions
屬性

方法

GetKeyType(IKey)
已淘汰.

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

GetPrincipalKeyValueFactory<TKey>(IKey)
已淘汰.

根據從各種實體資料形式取得的索引鍵值,取得索引鍵值的處理站。

這個方法通常由資料庫提供者使用, (和其他延伸模組) 。 它通常不會用於應用程式程式碼中。

GetReferencingForeignKeys(IKey)
已淘汰.

取得以指定的主要或替代索引鍵為目標的所有外鍵。

IsPrimaryKey(IKey)
已淘汰.

傳回值,指出索引鍵是否為主鍵。

ToDebugString(IKey, MetadataDebugStringOptions, Int32)
已淘汰.

建立人類可讀取的指定中繼資料標記法。

警告:不要依賴傳回字串的格式。 它專為偵錯而設計,而且可能會在發行之間任意變更。

適用於