語言

RelationalKeyAnnotations 類別

定義

透過 Relational(IMutableKey)存取的關聯特定註解屬性。

public class RelationalKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.IRelationalKeyAnnotations
type RelationalKeyAnnotations = class
    interface IRelationalKeyAnnotations
Public Class RelationalKeyAnnotations
Implements IRelationalKeyAnnotations
繼承
RelationalKeyAnnotations
衍生
實作

建構函式

名稱 Description
RelationalKeyAnnotations(IKey, RelationalFullAnnotationNames)

透過 Relational(IMutableKey)存取的關聯特定註解屬性。

RelationalKeyAnnotations(IKey)

構造一個給定 IKey註解的實例。

RelationalKeyAnnotations(RelationalAnnotations, RelationalFullAnnotationNames)

透過 Relational(IMutableKey)存取的關聯特定註解屬性。

RelationalKeyAnnotations(RelationalAnnotations)

為所代表的註解 IKey 建構一個實例。

欄位

名稱 Description
DefaultAlternateKeyNamePrefix

透過 Relational(IMutableKey)存取的關聯特定註解屬性。

DefaultPrimaryKeyNamePrefix

透過 Relational(IMutableKey)存取的關聯特定註解屬性。

ProviderFullAnnotationNames

透過 Relational(IMutableKey)存取的關聯特定註解屬性。

屬性

名稱 Description
Annotations

RelationalAnnotations代表 的 IKey 輔助工具 to annotate。

Key

註 IKey 解。

Name

關鍵約束名稱。

方法

名稱 Description
GetAnnotations(IEntityType)

透過 Relational(IMutableKey)存取的關聯特定註解屬性。

GetAnnotations(IProperty)

透過 Relational(IMutableKey)存取的關聯特定註解屬性。

GetDefaultKeyName(String, Boolean, IEnumerable<String>)

透過 Relational(IMutableKey)存取的關聯特定註解屬性。

GetDefaultName()

透過 Relational(IMutableKey)存取的關聯特定註解屬性。

SetName(String)

嘗試利用 的RelationalAnnotations語意來設定 。Name

適用於