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