This documentation is archived and is not being maintained.
Represents an action restriction enforced on a set of columns in a primary key/foreign key relationship when a value or row is either deleted or updated.
The ForeignKeyConstraint type exposes the following members.
|CheckStateForProperty||Infrastructure. (Inherited from Constraint.)|
|Equals||Gets a value indicating whether the current ForeignKeyConstraint is identical to the specified object. (Overrides Object.Equals(Object).)|
|Finalize||Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)|
|GetHashCode||Gets the hash code of this instance of the ForeignKeyConstraint object. (Overrides Object.GetHashCode().)|
|GetType||Gets the type of the current instance. (Inherited from Object.)|
|MemberwiseClone||Creates a shallow copy of the current Object. (Inherited from Object.)|
|SetDataSet||Sets the constraint's DataSet. (Inherited from Constraint.)|
|ToString||Gets the ConstraintName, if there is one, as a string. (Inherited from Constraint.)|
|_DataSet||Infrastructure. Gets the DataSet to which this constraint belongs. (Inherited from Constraint.)|
|AcceptRejectRule||Indicates the action that should take place across this constraint when AcceptChanges is invoked.|
|Columns||Gets the child columns of this constraint.|
|ConstraintName||The name of a constraint in the ConstraintCollection. (Inherited from Constraint.)|
|DeleteRule||Gets or sets the action that occurs across this constraint when a row is deleted.|
|ExtendedProperties||Gets the collection of user-defined constraint properties. (Inherited from Constraint.)|
|RelatedColumns||The parent columns of this constraint.|
|RelatedTable||Gets the parent table of this constraint.|
|Table||Gets the child table of this constraint. (Overrides Constraint.Table.)|
|UpdateRule||Gets or sets the action that occurs across this constraint on when a row is updated.|