Share via


SqlServerKeyAnnotations 類別

定義

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

public class SqlServerKeyAnnotations : Microsoft.EntityFrameworkCore.Metadata.RelationalKeyAnnotations, Microsoft.EntityFrameworkCore.Metadata.ISqlServerKeyAnnotations
type SqlServerKeyAnnotations = class
    inherit RelationalKeyAnnotations
    interface ISqlServerKeyAnnotations
    interface IRelationalKeyAnnotations
Public Class SqlServerKeyAnnotations
Inherits RelationalKeyAnnotations
Implements ISqlServerKeyAnnotations
繼承
SqlServerKeyAnnotations
實作

建構函式

SqlServerKeyAnnotations(IKey)

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

SqlServerKeyAnnotations(RelationalAnnotations)

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

欄位

DefaultAlternateKeyNamePrefix

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

(繼承來源 RelationalKeyAnnotations)
DefaultPrimaryKeyNamePrefix

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

(繼承來源 RelationalKeyAnnotations)
ProviderFullAnnotationNames

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

(繼承來源 RelationalKeyAnnotations)

屬性

Annotations

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

(繼承來源 RelationalKeyAnnotations)
IsClustered

取得或設定索引鍵是否已叢集,或者 null 尚未指定叢集。

Key

IKey要標注的 。

(繼承來源 RelationalKeyAnnotations)
Name

索引鍵條件約束名稱。

(繼承來源 RelationalKeyAnnotations)

方法

GetAnnotations(IEntityType)

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

(繼承來源 RelationalKeyAnnotations)
GetAnnotations(IProperty)

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

(繼承來源 RelationalKeyAnnotations)
GetDefaultName()

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

(繼承來源 RelationalKeyAnnotations)
SetIsClustered(Nullable<Boolean>)

嘗試使用使用中的 語意 RelationalAnnotations 來設定叢集。

SetName(String)

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

(繼承來源 RelationalKeyAnnotations)

適用於