System.Data.AcceptRejectRule Enumeration

Determines the action that occurs when the DataSet.AcceptChanges or DataTable.RejectChanges method is invoked on a System.Data.DataTable with a System.Data.ForeignKeyConstraint.

Syntax

public enum AcceptRejectRule

Remarks

Changes to a System.Data.DataTable are not final until you call the DataTable.AcceptChanges method. When either DataTable.AcceptChanges or DataTable.RejectChanges is called on a row in the parent table, the System.Data.AcceptRejectRule value determines whether or not changes are propagated to corresponding rows in the child table.

Members

Member NameDescription
Cascade

Changes are cascaded across the relationship.

None

No action occurs (default).

Requirements

Namespace: System.Data
Assembly: System.Data (in System.Data.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0