AD0.NET Entity Framework 4.0 or Linq-to-SQL

风格不统一 提交于 2019-12-06 01:42:42

Google is your friend. I'm sure that you can find a lot of those threads.

Only you can tell which technology you want to invest in, but it's worth noting that Microsoft is investing the VAST majority of its effort in Entity Framework. Linq to SQL is being maintained, but is not getting anywhere near as much attention.

EF4 is a huge leap forward compared to prior versions of EF. The introduction of "Code First" is, in my view, a significant reason to adopt EF over Linq to SQL.

I'd recommend to chose the one that you can play better with, from maintenance perspective. In many cases we have based our decision on the factor of the team capability. If most of our team members have enough experience and exposure in X technology or tool, we'll prefer that over another. This way you can maintain your software without stress and also deliver reliable solutions to your customer in less time.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!