LINQ to SQL是死还是生? [英] Is LINQ to SQL Dead or Alive?

查看:70
本文介绍了LINQ to SQL是死还是生?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我与LINQ to SQL交朋友时,似乎MS似乎正在从它的下面抽出地毯.

Just when I make friends with LINQ to SQL, it appears as though MS is pulling the rug out from under it.

http://blogs.msdn.com/adonet/archive/2008/10/29/update-on-linq-to-sql-and-linq-to-entities-roadmap.aspx

从我的一点研究来看,EF对于简单工作来说是一种过大的杀伤力.但是,在宣布这一消息之后,是否有继续使用LINQ to SQL的意义?

From my little bit of research, EF is way overkill for simple work. But after this announcement is there a point in continuing to use LINQ to SQL?

在LINQ to SQL的未来之外,这是否通常不会发出不好的信号?考虑到MS向墙上扔钻头的速度,早期使用任何新钻头是否合理? (这很友好,对于LINQ to SQL来说还不算早!).

Beyond the future for LINQ to SQL, doesn't this just generally send a bad signal? Given the speed with which MS is throwing bits against the wall, is it rational to use any of the new bits early? (and that's being kind, it's hardly early for LINQ to SQL!).

对于我的LINQ to SQL工作,我想我要去SubSonic了!

For my LINQ to SQL work, I think I'm headed to SubSonic!

更新:一些新观点:

http://ayende. com/Blog/archive/2008/10/31/microsoft-kills-linq-to-sql.aspx

http://codebetter.com/blogs/david.hayden/archive/2008/10/31/linq-to-sql-is-dead-read-between-the-lines.aspx

推荐答案

1)他们无法杀死" Linq-to-SQL,因为它已经是.net框架的一部分.他们所能做的就是停止向其中添加功能.但这并不能阻止已经使用L2S的成千上万的开发人员对其进行扩展和改进.一些核心领域很难触及,但它们已经扎实,并且缺少设计器功能的问题可以很容易地锁定.

1) They can't "kill" Linq-to-SQL as it is already part of the .net framework. What they can do is stop adding features to it. That doesn't prevent the thousands of developers out there that are already using L2S from extending it and improving it. Some core areas are tricky to touch but they're solid already and the missing designer features can easily be bolted on.

2) PDC EF会话之一表明,他们已经吸取了两个教训他们现在从EFv1惨败中复制了很多东西,并将它们从L2S复制粘贴到EF中,并假装它是EF的新东西.换句话说,L2S版本2刚刚被重新标记"为EF.

2) One of the PDC EF sessions show that they have learnt a couple of lessons from the EFv1 fiasco and they are now copy-and-pasting a lot of the goodies from L2S into EF and pretending it is new EF stuff. In other words, L2S version two has just been "relabelled" EF.

3)像这样的LINQ(语言集成查询)是自切片冰淇淋以来最好的东西,它可以与L2S结合使用(Linq到对象,Linq到实体,Linq到XML,Linq-到任何东西).因此,DP小组试图迫使[大量] L2S采纳者采用[较不流行和当前有缺陷的] Entity Framework,这不是没有学习Linq的理由.

3) LINQ as such (Language Integrated Query) is the best thing since sliced ice-cream and it can be used with a lot of other things than L2S (Linq to objects, Linq to entities, Linq to XML, Linq-to-anything). So the DP group's attempt to force [the vast masses of] L2S adopters over to [the less popular and currently flawed] Entity Framework is no reason to not learn Linq.

也请参见此线程(我认为这部分触发了Tim的博客文章): http://forums.microsoft.com/MSDN/ShowPost.aspx ?PostID = 4061922& SiteID = 1

Also see this thread (which is what I believe partly triggered Tim's blog post): http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=4061922&SiteID=1

更新1:罗杰·詹宁斯(Roger Jennings)于2008年12月发行的Visual Studio Magazine封面故事对该主题进行了很好的阅读,并进行了L2S与EF的比较: visualstudiomagazine.com/features/article.aspx?editorialsid=2583"rel =" noreferrer> http://visualstudiomagazine.com/features/article.aspx?editorialsid=2583

Update 1: The Dec 2008 issue of Visual Studio Magazine cover story by Roger Jennings is a good read on the topic, with some L2S vs EF comparisons: http://visualstudiomagazine.com/features/article.aspx?editorialsid=2583

更新2: Redmond开发人员新闻中引用了Anders Hejlsberg 说道:" LINQ to SQL还没有死.我可以向您保证,它还没有死.什么都不会消失.我们从未做到过,我们永远也不会."

http://reddevnews.com/blogs/weblog.aspx?blog=3016

这篇关于LINQ to SQL是死还是生?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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