Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Catch 22
Message
De
03/09/2013 21:14:46
 
 
Information générale
Forum:
ASP.NET
Catégorie:
Autre
Titre:
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01581904
Message ID:
01582013
Vues:
60
This message has been marked as a message which has helped to the initial question of the thread.
>This is the something I started to read to see if I can incorporate in that particular test
>
>http://stackoverflow.com/questions/224689/transactions-in-net


Yes, I was just about to suggest using TransactionScope ... which is mentioned in the above link. We use TransactionScope all the time. Works great. In fact, I have a blog post you might be interested in:

http://geek-goddess-bonnie.blogspot.com/2010/12/transactionscope-and-sqlserver.html

In the examples in my post, notice that you can do anything you want inside that TransactionScope block ... for example, call many different methods which it seems is what you want to do.

~~Bonnie
Bonnie Berent DeWitt
NET/C# MVP since 2003

http://geek-goddess-bonnie.blogspot.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform