04-27-06 12:25 PM
Hi Simon,
In order for .net code to participate in the atomic transaction, it needs to
be transaction enabled. You can create enterprise components in .net to do
this, (there may also be some new functionality in .net 2.0).
A simpler option may be to move the transaction logig into one stored
procedure, then make one call from your net code.
Regards,
Alan
--
The Bloggers Guide to BizTalk
http://geekswithblogs.com/asmith
"ee@ee.demon.co.uk" wrote:
> Hi,
>
> I have a simple scenario where I want to call two separate .Net functions,
> each of which update a row in a table.
>
> Orchestration:
>
> Receive PO
> |
> Expression Update SQL Via .Net Method call
> |
> Expression Update SQL Via another .Net Method call
> |
> Stop
>
> I have wrap them both in a Acid scope so if the last update fails the firs
t
> update is automatically rolled back. It is not currently working
>
> I am not should how to go about doing this I Biztalk 2006. I have added
> Enterprise component services to the .Net class doing the updates.
>
> Can anyone point me to an example/sample that does something similar?
>
> Thanks in advance,
>
> Simon
>
[ Post a follow-up to this message ]
|