If create a custom of IEnlistmentNotification is it possible to make it the开发者_C百科 first implementation executed when TransactionScope.Commit is called?If your enlistment depends on the order com
I am using LINQ To SQL and calling stored procedures to insert the new rows. Does the code below demonstrate an appropriate set of steps?
Good Morning All, I have code similar to the following try{ using(var tx = new TransactionScope()){ var Xupdated= someDao.DoSomeUpdateQuery(); //this dao uses MS Data ApplicationBlock
This question is purely AR related. Let\'s say I have 2 layers in my web/wcf application - DataLayer and BusinessLayer.
Is there 开发者_开发问答a way to check if code is executed in a TransactionScope? Something like:
Hi just reading about using transaction scrope, previously I am used to making transactions inside a single DB class like
we have written a C# 3.5 client talking to an Oracle database (11g) using the ODP.NET. This application has a batch process where a long running task is performed making various calls to the database
I have a parent object (part of a DAL) that contains, amongst other things, a collection (List<t>) of child objects.
This question is related to my question: SQL Server and TransactionScope (with MSDTC): Sporadically can't get connection
What a开发者_高级运维re the good and bad points of the TransactionScope class in C#? Thanks.Some advantages from MSDN :