Sqlhelper类和本地事务 [英] Sqlhelper class and local transactions

查看:80
本文介绍了Sqlhelper类和本地事务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有人可以给我一个有关如何使用< g class ="gr_gr_34 gr-alert gr_spell gr_run_anim ContextualSpelling ins-del multiReplace的示例" data-gr-id ="34". id ="34"> sqlhelper</g>班级和本地交易

Can someone give me an example on how to use <g class="gr_ gr_34 gr-alert gr_spell gr_run_anim ContextualSpelling ins-del multiReplace" data-gr-id="34" id="34">sqlhelper</g> class and local transaction

下面是代码,每当我的事务正在执行存储的< g class ="gr_gr_50 gr-alert gr_gramm gr_run_anim Style multiReplace"事务时,我就会尝试回滚; data-gr-id ="50". id ="50"程序 </g>对于某些< g class ="gr_gr_56 gr-alert gr_gramm gr_run_anim样式multiReplace" data-gr-id ="56". id ="56"原因,我希望回滚无法正常工作.有什么想法吗?

Below is the code, I am trying to do a rollback, whenever there is an issue with my transactions which is executing stored <g class="gr_ gr_50 gr-alert gr_gramm gr_run_anim Style multiReplace" data-gr-id="50" id="50">procedures .</g> For some <g class="gr_ gr_56 gr-alert gr_gramm gr_run_anim Style multiReplace" data-gr-id="56" id="56">reason ,</g> the rollback does not work the way, I expect. Any ideas?

推荐答案

你好

如果您查看文档,它会指定该类不打算在您的代码中使用.您应该只使用一个 交易.

If you look at the documentation it specifies this class is not intended to be used directory in your code. You should simply use a transaction.


这篇关于Sqlhelper类和本地事务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆