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
- 继承
- 实现
构造函数
| SqlServerKeyAnnotations(IKey) |
为给定 IKey的批注构造实例。 |
| SqlServerKeyAnnotations(RelationalAnnotations) |
为给定批注帮助程序表示的 IKey 的注释构造实例。 |
字段
| DefaultAlternateKeyNamePrefix |
通过 SqlServer(IMutableKey)访问的特定于关系注释的属性。 (继承自 RelationalKeyAnnotations) |
| DefaultPrimaryKeyNamePrefix |
通过 SqlServer(IMutableKey)访问的特定于关系注释的属性。 (继承自 RelationalKeyAnnotations) |
| ProviderFullAnnotationNames |
通过 SqlServer(IMutableKey)访问的特定于关系注释的属性。 (继承自 RelationalKeyAnnotations) |
属性
| Annotations |
表示RelationalAnnotationsIKey要批注的 的帮助程序。 (继承自 RelationalKeyAnnotations) |
| IsClustered |
获取或设置密钥是否聚集,或者 |
| 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) |
尝试使用正在使用 Name 的语义 RelationalAnnotations 设置 。 (继承自 RelationalKeyAnnotations) |