P
Paul
Hi All,
I'm experiencing some strange behaviour of the DataSet.HasChanges()
method, the situation is as follows:-
1) Populate a DataSet with 2 tables Master and Details.
2) Setup a DataRelation between the 2 tables.
3) Configure the relation to have cascade Deletes on the
ChildKeyConstriant.
4) Delete a record from the Master table and the child records are also
removed. At this point everything works as expected, checking the row count
of both tables and the record have been removed.
Now checking the HasChanges() method returns false?
Any ideas as to what could be causing this?
TIA
Paul
I'm experiencing some strange behaviour of the DataSet.HasChanges()
method, the situation is as follows:-
1) Populate a DataSet with 2 tables Master and Details.
2) Setup a DataRelation between the 2 tables.
3) Configure the relation to have cascade Deletes on the
ChildKeyConstriant.
4) Delete a record from the Master table and the child records are also
removed. At this point everything works as expected, checking the row count
of both tables and the record have been removed.
Now checking the HasChanges() method returns false?
Any ideas as to what could be causing this?
TIA
Paul