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