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)。 |
回頁首
方法
回頁首