PC Review
Forums
Newsgroups
Microsoft DotNet
Microsoft ADO .NET
AcceptRejectRule question
Forums
Newsgroups
Microsoft DotNet
Microsoft ADO .NET
AcceptRejectRule question
![]() |
AcceptRejectRule question |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
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. |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

