1,062 questions
34
votes
6
answers
22k
views
NHibernate with TransactionScope
Can anyone give me a quick overview of using TransactionScope with NHibernate? Do I need to do anything special with the session/IEnlistmentNotification/etc. to get this to work? Are there any ...
5
votes
4
answers
6k
views
High volume site using ADO.NET TransactionScope vs ExecuteCommand on NOLOCK, READ UNCOMMITTED directly?
Just read this interesting article by Omar on his blog Linq to SQL solve Transaction deadlock and Query timeout problem using uncommitted reads and at the end
Javed Hasan started arguing with him ...
6
votes
6
answers
2k
views
SharePoint 2007: How can I perform a series of operations within a transaction?
I would love to know how to perform a series of operations in a SharePoint context within a transaction. For example, I would like to be able to do something like the following:
context....
1
vote
5
answers
2k
views
Transaction Scope
How does the transaction scope work? How does it know when there is another context being used already and how might I implement another kind of scope in my code.
I'm primarily a vb.net developer ...
2
votes
2
answers
1k
views
Is this safe? - NUnit base class opens and rollsback a TransactionScope
I was thinking it would be nice to create a base class for NUnit test fixtures that opens a TransactionScope during the SetUp phase, then rolls back the transaction during tear down.
Something like ...
89
votes
11
answers
149k
views
"The operation is not valid for the state of the transaction" error and transaction scope
I am getting the following error when I try to call a stored procedure that contains a SELECT Statement:
The operation is not valid for the state of the transaction
Here is the structure of my calls:...