Hi All,
I am having a slight issue. Please guide me.
I am coding in C#(Console App). I have called 2 different stored procedure in my code. Basically both these stored procedures access the same table.
First SP has a select query and an update query.
Second SP has a single update query.
Now I want to call these SP in a transaction mode(Either all succeeds or is second SP fails rollback first SP). I have used "TransactionScope" within my C# code but is doesnt seem to work fine. ie when I stop the Console App sometimes I see that the first SP is executed and the second one fails.
Can anybody suggest me on this.
Regards,
Justin Samuel.