.NET TransactionScope class and T-SQL TRAN COMMIT and ROLLBACK

前端 未结 4 1505
庸人自扰
庸人自扰 2020-12-11 20:11

I am current writing an application that will require multiple inserts, updates and deletes for my business entity. I am using the TransactionScope class to guarantee all t

4条回答
  •  没有蜡笔的小新
    2020-12-11 20:34

    You shouldn't need to - it should be handled within the TransactionScope. It does depend a little bit as to exactly what you are doing and how you are handling transaction (explicit or implicit) More HERE

提交回复
热议问题