LINQ to SQL是否已弃用? [英] Is LINQ to SQL deprecated?

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

问题描述

早在2008年末,关于LINQ to SQL的未来有很多争论.许多人认为,Microsoft在.NET 4.0中对Entity Framework的投资表明LINQ to SQL没有前途.我以为我会等自己决定后再做,因为人们之间并没有达成共识.

Back in late 2008 there was a lot of debate about the future of LINQ to SQL. Many suggested that Microsoft's investments in the Entity Framework in .NET 4.0 were a sign that LINQ to SQL had no future. I figured I'd wait before making my own decision since folks were not in agreement.

前18个月,我已经有供应商提供了依赖LINQ to SQL的解决方案,我亲自尝试了一下,并且非常喜欢使用它.我想这是这里的住所.

Fast-forward 18 months and I've got vendors providing solutions that rely on LINQ to SQL and I have personally given it a try and really enjoyed working with it. I figured it was here to stay.

但是我正在读一本新书(Ben Watson撰写的C#4.0 How-To),在第21章(LINQ)中,他建议它已或多或少地被Microsoft弃用",并建议使用LINQ to Entity Framework

But I'm reading a new book (C# 4.0 How-To by Ben Watson) and in chapter 21 (LINQ), he suggests that it "has been more or less deprecated by Microsoft" and suggests using LINQ to Entity Framework.

我要问的是LINQ to SQL是否已被正式弃用和/或权威实体(Microsoft,Scott Gu等)是否正式建议使用LINQ to Entities而不是LINQ to SQL.

My question to you is whether or not LINQ to SQL is officially deprecated and/or if authoritative entities (Microsoft, Scott Gu, etc.) officially suggest using LINQ to Entities instead of LINQ to SQL.

推荐答案

对于所有"Linq-to-SQL已死" 伙计:Scott Guthrie自己在TechEd Europe上明确提到Linq-to -SQL在.NET 4中得到完全支持,而Damien Guard发布了

For all the "Linq-to-SQL is dead" folks: Scott Guthrie himself clearly mentioned at TechEd Europe that Linq-to-SQL is FULLY SUPPORTED in .NET 4, and Damien Guard posted a blog post on what changes and improvements have been made for Linq-to-SQL in .NET 4.

引用马克·吐温(Mark Twain)的话:我的死讯被大大夸大了……"

To quote Mark Twain: "Reports of my death have been greatly exaggerated"......

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

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