This is an old issue which could be traced back to 2006 as below link. In the
change document the issue seems fixed in v2.1.0 Beta 1 ( 2006-10-27 ).
AcceptChangesDuringUpdate still does not work in 2.1.0 for inserting. Could
anyone give me an update of this issue?
http://www.nabble.com/FbDataAdapter-problem-td7194028.html
Why did we directly call AcceptChanges() in step 3 without checking
AcceptChangesDuringUpdate flag.
if (statementType == StatementType.Insert)
{
row.AcceptChanges();
}
I used Firebird .Net Client 2.1.0 and embeded firebird 2.0.4. I set
AcceptChangesDuringUpdate to false before calling Update in a transaction. But
no matter AcceptChangesDuringUpdate is false or true, AcceptChanges seems
always been called and the RowState is changed from "Added" to "Unchanged".
This is very dangerous to insert multiple tables in one transaction. If failed
in one table the transaction can be rolled back, but it is no way to reject
changes in the dataset. Is there any workaround to solve this issue? Thanks.
_________________________________________________________________
Reveal your inner athlete and share it with friends on Windows Live.
http://revealyourinnerathlete.windowslive.com?locale=en-us&ocid=TXT_TAGLM_WLYIA_whichathlete_us
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider