Hi!
I try to execute two updates in one transaction:
FbConnection C = new FbConnection("...");
FbTransaction T;
FbCommand cm1 = new FbCommand("update...", C);
FbCommand cm2 = new FbCommand("update...", C);
//Cycle etc...
T = C.BeginTransaction();
cm1.Transaction = T;
cm2.Transaction = T;
But when cm2.Transaction assigns to T, cm1.Transaction cleans to null
automatically!!! This accident happens only once - in first cycle iteration.
I check it for FBProvider v 2.01 & 2.1 beta 3
With best regards
Alexander Belikov
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Firebird-net-provider mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider