Home All Groups Group Topic Archive Search About

AcceptRejectRule question

Author
10 Apr 2006 12:46 PM
olrt
Hello,
In the documentation it says :

----------------------------------------------------------------
AcceptRejectRule
Changes to rows can be accepted using the AcceptChanges method or
canceled using the RejectChanges method of the DataSet, DataTable, or
DataRow. When a DataSet contains ForeignKeyConstraints, invoking the
AcceptChanges or RejectChanges methods enforces the AcceptRejectRule.
The AcceptRejectRule property of the ForeignKeyConstraint determines
which action will be taken on the child rows when AcceptChanges or
RejectChanges is called on the parent row.
----------------------------------------------------------------

Suppose I configured a DataAdapter with AcceptChangesDuringUpdate=False
Suppose I have a Master DataTable and a Child DataTable.

So the AcceptRejectRule should be no factor on the Child during an
Update on Master or am I wrong ???

Thanks for your answers.

Olivier.

AddThis Social Bookmark Button