共用方式為


RelationalKeyAnnotations 類別

定義

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

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

建構函式

RelationalKeyAnnotations(IKey)

建構指定 IKey 之 注釋的實例。

RelationalKeyAnnotations(IKey, RelationalFullAnnotationNames)

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

RelationalKeyAnnotations(RelationalAnnotations)

建構指定批註 IKey 協助程式所表示之 之 的實例。

RelationalKeyAnnotations(RelationalAnnotations, RelationalFullAnnotationNames)

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

欄位

DefaultAlternateKeyNamePrefix

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

DefaultPrimaryKeyNamePrefix

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

ProviderFullAnnotationNames

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

屬性

Annotations

RelationalAnnotations代表 IKey 要標注之 的協助程式。

Key

IKey要標注的 。

Name

索引鍵條件約束名稱。

方法

GetAnnotations(IEntityType)

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

GetAnnotations(IProperty)

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

GetDefaultKeyName(String, Boolean, IEnumerable<String>)

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

GetDefaultName()

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

SetName(String)

嘗試使用 中的 語意 RelationalAnnotations 來設定 Name

適用於