是典型的ADO.NET仍在使用? [英] Is Classic ADO.NET still used?

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

问题描述

经典ADO.NET仍然wides $ P $垫,并与许多开发商那里使用插入,读取数据等?

Is classic ADO.NET still widespread and in use with many developers out there inserting, reading data etc?

尽管我们现在有LINQ和EF。

Even though we now have LINQ and EF.

推荐答案

是的,它仍然在某些情况下使用。

Yes it is still used in some situations.

在我的日常工作​​,我们必须在这里我们使用SQL批量复制这需要良好的OLE'连接和一对夫妇的情况下命令。

At my day job we have a couple cases where we use SQL Bulk Copy which requires good ole' Connections and Commands.

此外,有在SQL Server 2008 R2(地理,几何,层次结构)的一些新的数据类型没有支持实体框架。在这些情况下,一种方法是将返回到实际Ado.Net

Additionally, there are some new datatypes in SQL 2008 R2 (Geography, Geometry, Hierarchy) that don't have support in Entity Framework. In those cases, one approach is to go back to the actual Ado.Net.

是否有你感兴趣的特定情况下,或者这是一个比较普遍的问题?

Is there a specific case that you're interested in, or is this a more general question?

修改 另一种情况是性能。有微调更高能力的SQL以获得最佳性能,如EF工具没有得到你。这种情况下,是比其他理由使用Ado.Net罕见,但它仍然是有效的情况下

EDIT Another case would be performance. There is a higher ability to fine tune the SQL for optimal performance that tools such as EF don't get you. This case is rarer than the other reasons for using Ado.Net, but it is still a valid case.

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

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