Hi,

I'm writing a loop where a few FbCommands will be executed several times, so of course I call Prepare() before the loop starts.

But I would also like to commit the transaction at regular intervals in the loop, and start a new transaction. I assign the new transaction to each FbCommand.

Do I need to call Prepare() again on each FbCommand after the commit and new transaction assignment?

Btw, is there any way to check if a FbCommand is prepared or not?

Regards,
Kjell
--

DataDIA logotyp

Kjell Rilbe
Telefon: 08-761 06 55
Mobil: 0733-44 24 64

DataDIA AB
Ulvsundavägen 106
168 67 Bromma
www.datadia.se <http://www.datadia.se>
08-514 905 90

Företagskontakt.se <http://xn--fretagskontakt-vpb.se> - urval av företag och kontaktinformation
Personkontakt.se <http://personkontakt.se> - urval av hushållsadresser

------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Firebird-net-provider mailing list
Firebird-net-provider@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/firebird-net-provider

Reply via email to