In a C# Windows Forms application, using the SqlClient data provider...
I have methodA() and methodB().
methodA starts a transaction on its own command and conection objects, does
bunch of stuff, then either commits or rollsback the transaction.
methodA calls methodB many times.
methodB creates its own connection and command objects and does a bunch of
other stuff.
How can I get the command and connection objects of methodB to participate
in the transaction in methodA?
Thanks!