G
Gandalf
I'm trying to understand ado.net transactions and am a bit lost. What I
don't understand is, when I begin a transaction on a connection and obtain a
transaction object, why I must then pass this transaction object to command
objects that use the connection. I mean, doesn't the transaction belong to
the connection? Surely it's not possible to begin a transaction on a
connection and then execute a command on that connection outside the
transaction. Can anyone please explain the reasoning behind this?
TIA
don't understand is, when I begin a transaction on a connection and obtain a
transaction object, why I must then pass this transaction object to command
objects that use the connection. I mean, doesn't the transaction belong to
the connection? Surely it's not possible to begin a transaction on a
connection and then execute a command on that connection outside the
transaction. Can anyone please explain the reasoning behind this?
TIA