General information
Category:
The Mere Mortals .NET Framework
Title:
Only Children records with changes
I ran across an interesting problem. I have set up several child business objects to keep everything together in one transaction in case of a failure. There are some instances where the parent table has no records added, but the children have records. The parent .IsChanged() is true, but when I attempt to save, I get a SaveCancelled response. In SaveDataSet() it checks the parent table to see if there are any rows in the table. Since I have none, it assumes there are no changes to be made and cancells my changes.
Can I find obscure problems or what?
Jeff
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only