ISqlPrimaryKeyConstraint 接口
对主键约束建模。
命名空间: Microsoft.Data.Schema.Sql.SchemaModel
程序集: Microsoft.Data.Schema.Sql(在 Microsoft.Data.Schema.Sql.dll 中)
语法
声明
Public Interface ISqlPrimaryKeyConstraint _
Inherits ISqlConstraint, ISqlExtendedPropertyHost, ISqlSpecifiesIndex, ISqlSpecifiesStorage, _
ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, _
IModelAnnotationHolder
public interface ISqlPrimaryKeyConstraint : ISqlConstraint,
ISqlExtendedPropertyHost, ISqlSpecifiesIndex, ISqlSpecifiesStorage, ISqlModelElement, IScriptSourcedModelElement,
IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
public interface class ISqlPrimaryKeyConstraint : ISqlConstraint,
ISqlExtendedPropertyHost, ISqlSpecifiesIndex, ISqlSpecifiesStorage, ISqlModelElement, IScriptSourcedModelElement,
IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
type ISqlPrimaryKeyConstraint =
interface
interface ISqlConstraint
interface ISqlExtendedPropertyHost
interface ISqlSpecifiesIndex
interface ISqlSpecifiesStorage
interface ISqlModelElement
interface IScriptSourcedModelElement
interface IModelElement
interface IModelPropertyContainer
interface IModelEntity
interface IModelAnnotationHolder
end
public interface ISqlPrimaryKeyConstraint extends ISqlConstraint, ISqlExtendedPropertyHost, ISqlSpecifiesIndex, ISqlSpecifiesStorage, ISqlModelElement, IScriptSourcedModelElement, IModelElement, IModelPropertyContainer, IModelEntity, IModelAnnotationHolder
ISqlPrimaryKeyConstraint 类型公开以下成员。
属性
名称 | 说明 | |
---|---|---|
ColumnSpecifications | 获取对其编制索引的列的列表。 (继承自 ISqlSpecifiesIndex。) | |
DefiningTable | 获取或设置应用约束的表。 (继承自 ISqlConstraint。) | |
ElementClass | 获取元素的元数据类。 (继承自 IModelElement。) | |
ExtendedProperties | 获取此对象的扩展属性的列表。 (继承自 ISqlExtendedPropertyHost。) | |
Filegroup | 获取或设置存储该对象的文件组。 (继承自 ISqlSpecifiesStorage。) | |
FillFactor | 获取或设置索引的填充因子。 (继承自 ISqlSpecifiesIndex。) | |
IsClustered | 获取或设置一个值,该值指示这是否是聚集索引。 (继承自 ISqlSpecifiesIndex。) | |
IsDisabled | 获取或设置一个值,该值指示是否禁用约束。 (继承自 ISqlConstraint。) | |
Model | 获取模型引用。 (继承自 IModelEntity。) | |
Name | 获取或设置元素的名称。 (继承自 IModelElement。) | |
PrimarySource | 获取有关元素的主要源的信息。 (继承自 IScriptSourcedModelElement。) | |
ResolutionStatus | 获取或设置模型元素解析状态的值。 (继承自 IModelElement。) | |
SecondarySources | 获取元素的辅助源的列表。 (继承自 IScriptSourcedModelElement。) | |
SourceCodePositions | 获取用于定义此元素的源的列表。 (继承自 IModelElement。) | |
ValidationStatus | 获取或设置模型元素验证状态的值。 (继承自 IModelElement。) |
页首
方法
页首