本文介绍了LINQ到SQL VS实体框架,对微软的支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

什么是两者的优点/缺点?关于如果微软将继续支持LINQ to SQL的同时,我听到各种传闻,有这方面的进一步信息将是AP preciated。

What are the pros/cons of both? Also, I've heard various rumors concerning if Microsoft will continue to support LINQ to SQL, any further info on this would be appreciated.

推荐答案

L2S将继续从我个人理解,从我从上个PDC还记得,所有的重心正在放在L2E的.NET 4.0。支持

L2S will continue to be supported from what I understand, from what I recall from the last PDC, all focus is being put on L2E for .NET 4.0.

这是我尝试用L2E的当前状态,它的足不足。尤其是在速度区。我做了一些简单的性能测试,我L2S查询有时2-4x比L2E更快,那就是即使precompiling的L2E意见。

From my experimenting with the current state of L2E, its 'less than adequate'. Especially in the speed area. I did some simple performance testing, and my L2S queries were sometimes 2-4x faster than L2E, and that is even with precompiling the L2E views.

这篇关于LINQ到SQL VS实体框架,对微软的支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

05-30 15:17