Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / New Users / July 2006

Tip: Looking for answers? Try searching our database.

[.Net 2.0] How to participate into a transaction ?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Steve B. - 25 Jul 2006 16:44 GMT
Hi,

I'm building a component that perform some operation and that is working.

This component is runnig into the application app domain by now, but later,
this component will be a distributed component that will perform operations
which represent only a part of a whole process.
Since during this process errors can occurs, I suppose I have to enable the
component to participate into transactions.

What are the requirements of my component to act as a optionnally
transactionned component ?
I use to surround my code with using(TransactionScope ts = new
TransactionScope()){....} when I execute sql request. Will (or how) my
component be using the ambiant transaction ?

I hope someone can put on the way, or give me a sample and/or a pattern to
reach my goal.

Thanks in advance for any help.
Steve
Laura T - 25 Jul 2006 17:18 GMT
Some pointers:

http://msdn.microsoft.com/netframework/default.aspx?pull=/library/en-us/dndotnet
/html/introsystemtransact.asp

http://msdn.microsoft.com/msdnmag/issues/05/02/DataPoints/
http://www.microsoft.com/downloads/details.aspx?familyid=AAC3D722-444C-4E27-8B2E
-C6157ED16B15&displaylang=en

http://msdn2.microsoft.com/en-us/library/0abf6ykb.aspx
http://msdn2.microsoft.com/en-us/library/ms229973.aspx

have fun!

> Hi,
>
[quoted text clipped - 17 lines]
> Thanks in advance for any help.
> Steve

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.