对于适合于连接或断开连接的在线交易 [英] For online transactions which is the suitable connection oriented or disconnected oriented

查看:58
本文介绍了对于适合于连接或断开连接的在线交易的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

晚上好,先生...
TCS最近问了这个问题...

对于适合在ado.net中面向连接或断开连接的在线交易..(例如,)Sqldatareader或Dataset

Good Evening sir...
this question was asked by TCS recently...

For online transactions which is the suitable in ado.net connection oriented or disconnected oriented..?(i.e.., )Sqldatareader or Dataset

推荐答案

最适合在线交易.

检查差异
as per my suggestion connection oriented is best for online transaction .

Check the Diffrence


以及是否还要求处理交易在数据库中进行修改后,必须在事务处于活动状态的所有时间内获取连接.当您与数据库断开连接时,您的事务结束.
And also if the requirement is to handle transactions also in database when modifications are done, then the connection must be acquired for all the time the transaction is active. When you disconnect from the db, your transaction ends.


这篇关于对于适合于连接或断开连接的在线交易的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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