Pass transaction between classes

O

Ofir Amitai

Hi all,

I'm trying to pass a transaction between several classes.
I pass the connection & the transaction through all the classes I need and
all the updated are done.
My problem is when I try to do a Commit. I get the following error:

"This SqlTransaction has completed; it is no longer usable."

what a I doing wrong?

Thanks,
Ofir
 
L

Leigh Kendall

You might be better off using COM+/Service Components; the programming model
is much simpler, especially when the transaction is more involved, including
passing transaction contexts across classes.

Here's some good info to get started:
http://www.gotdotnet.com/team/xmlentsvcs/

HTH,
 
Joined
Dec 26, 2008
Messages
2
Reaction score
0
PureObjects

PureObjects is a web based code generator that builds several major portions of a .NET application including the database access layer, stored procedures, business, and model layers for C# and VB.NET
http://www.pureobjects.com
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top