阅读背景:

EF数据库事务可以在循环中使用吗?

来源:互联网 

I have a process where I retrieve records from a database periodically, and run 3 operations on each. For each record, the 3 operations must either all succeed, or none at all. In case of a failure on one of the operations, I want the operations that have been already processed for the previous records to be committed, so that next time the process runs, it picks up on the record for which one of the 3 transactions failed previously.I have a process where I retrieve records from




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: