PC Review Forums Newsgroups Microsoft DotNet Microsoft ADO .NET AcceptRejectRule question

Reply

AcceptRejectRule question

 
Thread Tools Rate Thread
Old 10-04-2006, 01:46 PM   #1
olrt
Guest
 
Posts: n/a
Default AcceptRejectRule question


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.

  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off