transactionscope
TransactionScopeOption - Required or RequiresNew
I\'m currently having a confusion concerning the constructor of the TransactionScope object. Say that users of my website can order products. On submitting their request, I carry out a verification o[详细]
2023-02-03 06:55 分类:问答Will an inner transaction scope roll back if the outer transaction scope doesn't complete?
I have two transaction scopes, one within ano开发者_Python百科ther. I would love to know if the inner transaction scope will be rolled back after it has been committed and the outer one does not compl[详细]
2023-02-01 02:17 分类:问答The PROMOTE TRANSACTION request failed because there is no local transaction active
Under what circumstances would I see the above message? I have a sin开发者_开发问答gle call to SQL Server which is wrapped in a call to TransactionScope. In our development and QA environments MSDTC i[详细]
2023-01-31 12:23 分类:问答MS DTC or TransactionScope max timeout
I have a question about timeout for distibuted transactions. Foe example, I have开发者_JS百科 timeout for TransactionScope = 10 minutes (max, without editing machine.config).[详细]
2023-01-26 21:58 分类:问答Sharing transaction scope between threads
I have one class doing some transactional code. Lets assume: class Worker { public void doWork() { //I do not want to create a new transaction. Instead, i want to use the environmenttransaction used[详细]
2023-01-25 18:31 分类:问答Recommended practice for stopping transactions escalating to distributed when using transactionscope
Using the TransactionScope object to set up an implicit transaction that doesn\'t need to be passed across function calls is great! However, if a connection is opened whilst another is already open, t[详细]
2023-01-25 03:10 分类:问答.net transaction scope block second transaction
In my application I have the following pattern: using (TransactionScope transaction = new TransactionScope(TransactionScopeOption.Required))[详细]
2023-01-24 03:49 分类:问答NHibernate transaction problem with multiple sessions
I have set up NHibernate to run in a windows service with MS Sql Server 2008. I use a regular TransactionScope to ensure that the operation is atomic.[详细]
2023-01-23 08:19 分类:问答Transaction not rolling back
I have a transation that doesn\'t seem to rollback and getting a strange error.I\'m using a transaction that is connected to SQL Server 2008 on a different server and MSMQ on the same server as the co[详细]
2023-01-21 09:16 分类:问答.NET BackgroundWorker and SQLTransactions
Where can I find information or how can I handle SQL Server transactions in a BackgroundWorker thread? It\'s my understanding that error handling should not be set in the \"DoWork\" event and that the[详细]
2023-01-21 08:04 分类:问答