S
Shawn B.
Greetings,
I have two SqlCommands objects that each need to execute concurrently but I
want them both to be a part of the same transaction.
What I'm doing is created one SqlCommand and Beginning a transaction.
I have another SqlCommand that is being executed from within an Asynchronous
delegate that needs to participate in the same transaction. The problem is
that I get the infamous exception stating that the connection is already in
use.
COM+ is not an answer here.
What I want to know is if there is a way to make this work correctly using
only ADO.NET?
Thanks,
Shawn
I have two SqlCommands objects that each need to execute concurrently but I
want them both to be a part of the same transaction.
What I'm doing is created one SqlCommand and Beginning a transaction.
I have another SqlCommand that is being executed from within an Asynchronous
delegate that needs to participate in the same transaction. The problem is
that I get the infamous exception stating that the connection is already in
use.
COM+ is not an answer here.
What I want to know is if there is a way to make this work correctly using
only ADO.NET?
Thanks,
Shawn