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