ADO.NET 2.0 有哪些新功能?
面试官问我ADO.NET 2.0有哪些新特性?
我回答说(A)SQLConnection(B)SQL命令(C)数据适配器、数据集和数据适配器。数据读取器。
但他说,这些功能已经存在于 ADO.NET 1.1 中,
请让我知道是否有任何输入。
谢谢!
I was asked by interviewer that what are new features of ADO.NET 2.0?
I replied (A) SQLConnection (B) SQL Command (C) Data Adapter, dataset & data reader.
But he said, those features were already there in ADO.NET 1.1
let me know if any inputs.
Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
请参阅此处:http://msdn.microsoft.com/en -us/library/ex6y04yf(VS.80).aspx
该人可能正在寻找离线课程
see here: http://msdn.microsoft.com/en-us/library/ex6y04yf(VS.80).aspx
The person was probably looking for Disconnected Classes
好吧,“他说”中的“他”是正确的,但 MS 在 v2.0 中确实让它们工作得更好、更快,并且编码工作更少。
一方面,DataReader 可以直接加载到 DataSet 或 DataTable 中,这大大简化了事情。对我来说,其他重要的事情是添加异步 BeginExecuteXxxx() 和EndExecuteXxxx() 调用以及允许连接上多个待处理请求,并直接支持以分页方式读取数据,而无需为每个需要分页的大型数据集的位置编写存储过程。
Well, "he" as in "he said" is right, but MS sure made them work better, faster, and with less coding effort in v2.0.
For one thing, DataReader could be loaded directly into a DataSet or DataTable, which simplified things a lot. To me the other biggies were the addition of asynchronous BeginExecuteXxxx() & EndExecuteXxxx() calls along with allowing more than one pending request on a connection, and direct support for reading data in a paged manner without having to write a stored procedure for each place you had a large data set that needed to be paged.
MSDN 表示这些是新功能 。
MSDN says these are the new features.