在ASP.NET中使用事务 [英] using transaction in ASP.NET

查看:105
本文介绍了在ASP.NET中使用事务的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

亲爱的所有人,

我只想知道,是否可以在ASP.Net中使用事务,而我们不使用
sql操作?我的意思是,仅在ASP.Net函数中.

希望得到一些完美的答案..

问候,

Dear All,

I just want to know, is it possible to use transactions in ASP.Net,where we don''t use
the sql operations? I mean, only in ASP.Net functions.

hoping to get some perfect answers..

Regards,

推荐答案

我假设您正在尝试询问是否可以在ASP.NET中启动一个进程,并让系统让您取消所有操作在该方法中完成.答案是不. ASP.NET是用于生成HTML的引擎,它没有这种概念.甚至C#和VB.NET(存在ASP.NET的语言)也没有这种概念,您必须为希望存在的任何地方编写自己的撤消/重做引擎.
I assume you''re trying to ask if you can, in ASP.NET, start a process, and have the system let you cancel everything you did within that method. The answer is no. ASP.NET is an engine for generating HTML, it has no concept of such things. Even C# and VB.NET, the languages within which ASP.NET exists, have no concept of such things, you have to write your own undo/redo engine for any place you want that to exist.


我想你想了解System.Transaction
http://msdn.microsoft.com/en-us/library/ms229973 (v = VS.90).aspx [
I guess you want to know about System.Transaction
http://msdn.microsoft.com/en-us/library/ms229973(v=VS.90).aspx[^]


这篇关于在ASP.NET中使用事务的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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