Top "Transactionscope" questions

TransactionScope is a .NET class used to mark a block of code as transactional.

Deadlocks w/Entity Framework - how to rerun the transaction?

Got a bit of a tough situation here: we're experiencing occasional deadlocks in our system. And I don't have a …

entity-framework transactionscope database-deadlocks
Multiple SubmitChanges and transaction rollback using Linq To SQL

I'm using TransactionScope to submit data in Linq to SQL. My question is, if I use multiple SubmitChanges in the …

.net linq-to-sql transactionscope
TransactionScope Timeout occurs prematurely?

I'm using TransactionScope to do some batch insert and updates. Problem is, I'm getting timeout exceptions on a 30 min long …

c# .net transactions transactionscope
Locking a table with a select in Entity Framework

I need to do something like this select * from myTable with (xlock,holdlock) using Entity Framework. Is this possible? I've …

entity-framework transactionscope table-locking
Dtcping test passes but still have a Communication with the underlying transaction manager has failed

DTCPing tool says everything should be fine. The actual exception is: System.Transactions.TransactionManagerCommunicationException: Communication with the underlying transaction manager …

c# sql-server transactions transactionscope msdtc
Is it possible to use System.Transactions.TransactionScope with SqlBulkCopy?

Very simple question: is it possible to use System.Transactions.TransactionScope together with SqlBulkCopy? The documentation Transaction and Bulk Copy …

.net sql-server transactionscope sqlbulkcopy