transactionscope
What changed in .net 4.0 to scenarios when TransactionScope escalates to DTC?
Can someone detail the changes made in .net 4 to the circums开发者_StackOverflow社区tances under which TransactionScope will (and will not) escalate to DTC?Or is everything the same as 3.5?I can\'t fi[详细]
2023-02-12 06:23 分类:问答TransactionScope nuances
Let\'s imagine I have two threads which execute some database-oriented code in thread-specific TransactionScopes with ReadCommitted isolation level. But there is some table which data should be shared[详细]
2023-02-11 13:17 分类:问答TransactionScope and database connections
Do TransactionScope work with closed database connections? using (var transaction = new TransactionScope(TransactionScopeOption.Required))[详细]
2023-02-10 16:29 分类:问答Nhibernate with TransactionScope Error - DTC transaction prepre phase failed -- Upgrade to Nhibernate 3.0
I am getting the following exception when using Nhibernate and ADO.Net operations inside the transaction Scope.Eg. It was fine with Nhibernate 2.1 but nowupgraded to 3.0 which throws error.[详细]
2023-02-08 23:49 分类:问答Moq and Transactionscope, can you make the moqs not count?
When i\'m using a Transactionscope that i don\'t commmit, moq still sees all the rolled back calls to the database.[详细]
2023-02-08 19:26 分类:问答"Transaction in view" with Hibernate, Spring, Struts
From the Hibernate reference manual: \"Use a single database transaction to serve the clients request, starting and committing it when you open and close the Session\"[详细]
2023-02-06 04:32 分类:问答Integration tests - Rollbacking complex transactions
For integration testing purpose, we are savin data&reading data back from SQL. To avoid \'trash\' in the test database, it runs in a transaction and rolled back.[详细]
2023-02-05 06:30 分类:问答TransactionScope/SqlTransaction timeout extension
Is it possible to extend the timeout of a transaction (with SQL Server) on开发者_StackOverflow社区ce the transaction has started?The timeout is \"external\" to SQL Server, so SQL Server can not affect[详细]
2023-02-05 02:17 分类:问答TransactionScope throws exception
Im sure this is so basic question but i can\'t found any solution on google neither here. when im trying to use that code block it throws an exception that[详细]
2023-02-05 01:00 分类:问答Do I need to wrap a TransactionScope by try/catch?
The MSDN contains this code example: // This function takes arguments for 2 connection strings and commands to create a transaction[详细]
2023-02-04 03:01 分类:问答