System.InvalidOperationException : BeginExecuteNonQuery requires the command to have a transaction when the connection assigned to the command is in a pending local transaction. The Transaction property of the command has not been initialized.
So now I'm looking for a way to set the transaction on the Command. Is it possible to do this?
Hello,
So far I really like your library, but now I ran into an issue when using a transaction.
I have this method that call a couple of stored procedures that should all roll back when an error occurs.
But when I run this it throws an exception:
So now I'm looking for a way to set the transaction on the Command. Is it possible to do this?