Top "Transactionscope" questions

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

How does TransactionScope work?

When Method1() instantiates a TransactionScope and calls Method2() that also instantiates a TransactionScope, how does .NET know both are in …

.net database design-patterns transactionscope
EF: How do I call SaveChanges twice inside a transaction?

Using Entity Framework (code first in my case), I have an operation that requires me to call SaveChanges to update …

entity-framework sql-server-2012 transactionscope entity-framework-5 msdtc
maxTimeout value from Machine.Config is not picked up by C# winform app

I have been working on a winform app with Oracle 10g database which is using TransactionScope and wanted to modify …

c# transactions oracle10g transactionscope msdtc
MSDTC is only working in one direction

I'm trying to use TransactionScope for unit tests and I keep getting errors on our build server. After following several …

transactionscope msdtc
Unit Of Work Pattern with Database Transactions

I've been tried to get my head around this for a couple of days and there are lots of tutorials …

c# entity-framework transactions transactionscope
TransactionScope and multi-threading

I was wondering how you would use the TransactionScope class in the correct way when you are dealing with multithreading? …

.net multithreading transactions transactionscope
Transaction Scope fails with BeginTransaction in Oracle : Connection is already part of a local or a distributed transaction

Having this strange behavior while using OracleConnection with TransactionScope. If i try to use connection.BeginTransaction() in a transaction scope …

c# oracle transactionscope odp.net
Entity Framework 6 async operations and TranscationScope

I search on stackoverflow but could not find a similar question, please point me if there is already one. I …

c# .net entity-framework async-await transactionscope
How to know if the code is inside TransactionScope?

What is the best way to know if the code block is inside TransactionScope? Is Transaction.Current a realiable way …

c# .net transactionscope
Error Binding Gridview: "The current TransactionScope is already complete"

I am doing cascading deletes in an event sent from a Gridview. The deletes are in a Transaction. Here is …

c# asp.net linq gridview transactionscope