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