Transaction not aborted...

Hi all,

I have a service with netTcpBinding with a single operation that is decorated:

[OperationBehavior(TransactionScopeRequired = true, TransactionAutoComplete = true)].

The operation perform inserts 3 new records to the DB, and then throws an exception.

I expect that the records will not be written to the DB in the above scenario, but found out that they were indeed.

Did I miss something

Thanks in advance,

Guy



Answer this question

Transaction not aborted...

  • XE Paul

    I tried WCF transactions,it should work as expected

    can you please send me your repro code to madhup@microsoft.com,i hope you are using SQL+pubs database,otherwise,please send me instructions to setup database also

    -Thank you

    Madhu



  • Transaction not aborted...