ISqlForeignKeyConstraint Members

Include Protected Members
Include Inherited Members

Represents a SQL foreign key constraint.

The ISqlForeignKeyConstraint type exposes the following members.

Methods

  Name Description
Public method AddAnnotation Adds an annotation. (Inherited from IModelAnnotationHolder.)
Public method Delete Deletes this instance from the model. (Inherited from IModelElement.)
Public method GetAnnotations Overloaded. Returns all attached annotations.
Public method GetAnnotations<TType> Overloaded.
Public method GetColumnsRelationship Gets column relationships.
Public method GetComposingChildren Returns a list of composing children for this element. (Inherited from IModelElement.)
Public method GetDefiningTableRelationship Gets a defining table relationships container. (Inherited from ISqlConstraint.)
Public method GetExtendedPropertiesRelationship Returns an extended properties relationship collection. (Inherited from IExtendedPropertyHost.)
Public method GetForeignColumnsRelationship Gets foreign column relationships.
Public method GetForeignTableRelationship Gets foreign table relationships.
Public method GetHierarchicalChildren Returns a list of hierarchical children for this element. (Inherited from IModelElement.)
Public method GetOwnerInfo Returns information about the element owner. (Inherited from IModelElement.)
Public method GetProperty<TProperty> Gets the specified property. (Inherited from IModelPropertyContainer.)
Public method GetRelatedDanglingRelationshipEntries Returns a list of the dangling relationship entries, where this element is on the left side. (Inherited from IModelElement.)
Public method GetRelatedElements Returns a list of the elements that are in a relationship with this element, where this element is on the left side. (Inherited from IModelElement.)
Public method GetRelatedRelationshipEntries Returns a list of the relationship entries, where this element is on the left side. (Inherited from IModelElement.)
Public method GetRelatingElements Returns a list of the elements that are in a relationship with this element, where this element is on the right side. (Inherited from IModelElement.)
Public method GetRelatingRelationshipEntries Returns a list of the relationship entries, where this element is on the right side. (Inherited from IModelElement.)
Public method GetRelationship Returns the asked relationship. (Inherited from IModelElement.)
Public method GetRelationship<TRelating, TRelated> Returns the asked relationship. (Inherited from IModelElement.)
Public method GetRelationshipEntrySources Returns the list of relationship entry sources for a relationship entry. (Inherited from IScriptSourcedElement.)
Public method GetRelationships Returns a list of the relationships of this element. (Inherited from IModelElement.)
Public method IsDeleted Specifies whether the object is deleted. (Inherited from IModelElement.)
Public method IsExternal Specifies whether the object is external. (Inherited from IModelElement.)
Public method RemoveAnnotation Removes an annotation. (Inherited from IModelAnnotationHolder.)
Public method SetProperty<TProperty> Sets the specified property. (Inherited from IModelPropertyContainer.)

Top

Properties

  Name Description
Public property Columns Gets a list of constraint columns.
Public property DefiningTable Gets or sets the defining table. (Inherited from ISqlConstraint.)
Public property ElementClass Gets the metadata class. (Inherited from IModelElement.)
Public property ElementSource Gets the element source for an element. (Inherited from IScriptSourcedElement.)
Public property ExtendedProperties Gets a list of extended properties. (Inherited from IExtendedPropertyHost.)
Public property ForeignColumns Gets a list of foreign columns.
Public property ForeignTable Gets or sets a foreign table.
Public property IsDisabled Gets or sets whether constraint is disabled. (Inherited from ISqlConstraint.)
Public property IsNotForReplication Gets or sets whether replication is specified.
Public property Model Gets the model reference. (Inherited from IModelEntity.)
Public property Name Gets or sets the name of the IModelElement. (Inherited from IModelElement.)
Public property OnDeleteAction Gets or sets the action that fires on delete.
Public property OnUpdateAction Gets or sets the action that fires on update.
Public property ResolutionStatus Gets or sets the value of the model element resolution status. (Inherited from IModelElement.)
Public property ValidationStatus Gets or sets the value of the model element validation status. (Inherited from IModelElement.)

Top

See Also

Reference

ISqlForeignKeyConstraint Interface

Microsoft.Data.Schema.Sql.SchemaModel.SqlServer Namespace