Sal,
   In our application we wrap calls the repository using the 
System.Transactions built into .Net 2.0 in the Service layer. It works across 
multiple databases and manages a few other types of operations as well 
(email..etc).
 
Vince


From: [EMAIL PROTECTED]: [EMAIL PROTECTED]: Managing TransactionsDate: Sun, 29 
Jun 2008 17:53:56 -0400



Hello,In my application, I am using ibatis inside my repository classes. I 
interact with the repository classes in my service layer, and am wondering if 
there is anything special I need to do to managing transactions. Meaning, in my 
service layer classes, can I just wrap calls to repository methods inside a 
TransactionScope? Or, is there a another suggested pattern for doing this? I 
will need to have multiple calls to different repository methods in one 
transaction.Thanks,Sal

The other season of giving begins 6/24/08. Check out the i’m Talkathon. Check 
it out! 
_________________________________________________________________
Earn cashback on your purchases with Live Search - the search that pays you 
back!
http://search.live.com/cashback/?&pkw=form=MIJAAF/publ=HMTGL/crea=earncashback

Reply via email to