您的位置:首页 > 其它

Multiple Active Result Sets

2010-02-05 11:26 465 查看
http://msdn.microsoft.com/en-us/library/cfa084cz.aspx
这个功能首先需要数据库支持。从SQL Server 2005开始就支持了。其次在ADO.NET中需要明确地声明使用该特性。它的好处就是在一个连接没有关闭,并且正在使用的情况下,同时可以读取多个结果集。以前只能同时读取一个结果集
 
 
Multiple Active Result Sets (MARS)
This page is specific to:.NET Framework Version:  2.03.03.54
Multiple Active Result Sets (MARS) is a feature that allows the execution of multiple batches on a single connection. In previous versions, only one batch could be executed at a time against a single connection. Executing multiple batches with MARS does not imply simultaneous execution of operations. In This Section Enabling Multiple Active Result Sets (MARS) Discusses how to use MARS with SQL Server 2005. Manipulating Data (MARS) Provides examples of coding MARS applications. Related Sections Asynchronous Operations (ADO.NET) Provides details on using the new asynchronous features in ADO.NET.
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: