transactionscope
Rollback transaction in Repository from another class
well my problem is: I have a method like: class Manager { void method1() { // save object in database to get ID[详细]
2023-03-14 22:20 分类:问答Unclear exception from TransactionScope
I use TransactionScrope in my code to execute 50 SQL command on SQL Server 2008 R2. this is an example for my code:[详细]
2023-03-14 02:54 分类:问答Issue in Transaction Scope inside WCF
In my Project, DAL Is WCF service .Net4.0. using database oracle 11g. I am using transaction scope in WCF(server side).[详细]
2023-03-13 13:00 分类:问答C# - Usage of transactions in business layer (SQLServer 2005+ , Oracle) - good examples
I am gonna build a service using 3-tier architecture and I am really worried about how to handle operations in a transacted way.[详细]
2023-03-12 05:53 分类:问答TransactionScope with Membership and Roles calls in same block (way to use only one connection?)
I have calls to the Membership API and the Roles API in the same transaction scope. I\'ve read that opening more than one connection causes escalation r开发者_如何学Goequiring distributed transactions[详细]
2023-03-11 16:13 分类:问答How to wrap IDbTransactions in a TransactionScope
I have several code methods that look like this: using (var connection = this.connectionFactory.GetConnection())[详细]
2023-03-11 00:58 分类:问答Using TransactionScope() with NHibernate's BeginTransaction() problem
I\'m using NHibernate 3.1.0 with the MySql Connector 6.3.5. As a general rule my repository methods are wrapped in an NHibernate transaction. However the service or application code calling the reposi[详细]
2023-03-11 00:55 分类:问答Why is a nested transaction committed even if TransactionScope.Complete() is never called?
I was testing to see how nested transactions work, and uncovered this disturbing and unexpected behavior.[详细]
2023-03-09 17:41 分类:问答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 operation even when I set the timeout of the TransactionSco[详细]
2023-03-09 08:49 分类:问答Spring Integration, JMS Inbound channel adaptor and transactions
I am using SI configured with a jms:message-driven-channel-adapter.My use case is to receive a message from the queue, save it via JDBC to a database, commit the message from the queue, and then let t[详细]
2023-03-06 23:20 分类:问答