transactionscope
ASP.NET and ThreadStatic as part of TransactionScope's implementation
I was wondering how TransactionScope class works to keep the transaction between different method calls (without the need to pass it as a parameter) and I came to this doubt. I\'ve got two considerati[详细]
2023-04-05 13:47 分类:问答Linq: Delete and Insert same Primary Key values within TransactionScope
I want to replace existing records in the DB with new records in one transaction.Using TransactionScope, I have[详细]
2023-04-05 06:17 分类:问答Task, TransactionScope and SQL Server Stored Procedure
I have to update some DataTable for which I am sending the data as XML. My stored procedure has transaction to abort the operation if something goes wrong. But the number of records I have to update i[详细]
2023-04-03 13:57 分类:问答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 Operations doesn\'t mention anything (at least a[详细]
2023-04-02 09:17 分类:问答Passing TransactionScope to tasks created by Parallel.Invoke
I want the TxJobs, which are running in parallel, to create a scope from this parent transaction. How do I make this work?[详细]
2023-04-02 02:37 分类:问答sqlite inmemory + castle-activerecord = No transaction is active on this connection
I am using sqlite in memory db ( connection string is: Data Source=:memory:;Version=3;New=True;) + Castle ActiveRecord, using C#[详细]
2023-04-01 17:30 分类:问答Transaction scope wcf and avoid unwanted Escalation to Distributed Transactions
i have problem with escalation distributed transactions in开发者_高级运维 wcf application. My code looks something like this :[详细]
2023-03-30 23:25 分类:问答How to apply transaction isolation level for MVC app with lazy-loading is on?
We have web MVC app where EF\'s DbContext (POCO) derived class is managed by StructureMap and set up as http-scoped life-cycle. How can we set up specific isolation level for our repository (for insta[详细]
2023-03-30 06:30 分类:问答TransactionScope does not run on localhost
I am getting this error: Network access for Distributed Transaction Manage开发者_开发技巧r (MSDTC) has been[详细]
2023-03-29 15:52 分类:问答Does Castle Automatic Transaction Management create TransactionScope for Transactional methods?
I\'ve got an app which should access its DB (via NHibernate) and perform web service calls (via WCF) in a single distributed transaction (which is propagated to called web services via WS-AT). For now[详细]
2023-03-27 05:00 分类:问答