SqlServerKeyAnnotations 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
透過 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
- 繼承
- 實作
建構函式
| 名稱 | Description |
|---|---|
| SqlServerKeyAnnotations(IKey) |
構造一個給定 IKey註解的實例。 |
| SqlServerKeyAnnotations(RelationalAnnotations) |
為所代表的註解 IKey 建構一個實例。 |
欄位
| 名稱 | Description |
|---|---|
| DefaultAlternateKeyNamePrefix |
透過 SqlServer(IMutableKey)存取的關聯特定註解屬性。 (繼承來源 RelationalKeyAnnotations) |
| DefaultPrimaryKeyNamePrefix |
透過 SqlServer(IMutableKey)存取的關聯特定註解屬性。 (繼承來源 RelationalKeyAnnotations) |
| ProviderFullAnnotationNames |
透過 SqlServer(IMutableKey)存取的關聯特定註解屬性。 (繼承來源 RelationalKeyAnnotations) |
屬性
| 名稱 | Description |
|---|---|
| Annotations |
RelationalAnnotations代表 的 IKey 輔助工具 to annotate。 (繼承來源 RelationalKeyAnnotations) |
| IsClustered |
取得或設定金鑰是否為叢集,或 |
| Key |
註 IKey 解。 (繼承來源 RelationalKeyAnnotations) |
| Name |
關鍵約束名稱。 (繼承來源 RelationalKeyAnnotations) |
方法
| 名稱 | Description |
|---|---|
| GetAnnotations(IEntityType) |
透過 SqlServer(IMutableKey)存取的關聯特定註解屬性。 (繼承來源 RelationalKeyAnnotations) |
| GetAnnotations(IProperty) |
透過 SqlServer(IMutableKey)存取的關聯特定註解屬性。 (繼承來源 RelationalKeyAnnotations) |
| GetDefaultName() |
透過 SqlServer(IMutableKey)存取的關聯特定註解屬性。 (繼承來源 RelationalKeyAnnotations) |
| SetIsClustered(Nullable<Boolean>) |
嘗試利用 的語意 RelationalAnnotations 來設定群集。 |
| SetName(String) |
嘗試利用 的RelationalAnnotations語意來設定 。Name (繼承來源 RelationalKeyAnnotations) |