C# 哪本是最好的学习 Linq 的书,包括 Linq to Entities?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/438742/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-08-04 03:25:22  来源:igfitidea点击:

Which is the best book out there to learn Linq, including Linq to Entities?

c#linqentity-frameworklinq-to-entities.net-3.5

提问by Binoj Antony

I heard lots of reviews on the book Linq in Action, but it does not cover Linq to Entities.
Please provide your feedback on the books you may have read.

我听到很多关于 Linq in Action 的评论,但它没有涵盖 Linq to Entities。
请提供您对您可能阅读过的书籍的反馈。

回答by Marc Gravell

LINQ in Actionis a good book for understanding the principles of LINQ, and LINQ-to-SQL in particular.

LINQ in Action是一本了解 LINQ 原理的好书,尤其是 LINQ-to-SQL。

C# in Depthis good for understand how LINQ works at the language level, including query syntax, extension methods and expression trees.

C# in Depth有助于理解 LINQ 在语言级别的工作方式,包括查询语法、扩展方法和表达式树。

EF... trickier. One problem is that it is likely to change quite a bit between now and the next version due to the "thunderdome" scenario.

EF...更棘手。一个问题是,由于“thunderdome”场景,从现在到下一个版本之间可能会发生很大变化。

回答by Kev

I have both but APress's Pro Linqis probably the one that I use most on a day to day basis. Unfortunately there's no coverage of Linq to Entities in the first (current?) edition.

我两者都有,但APress 的 Pro Linq可能是我日常使用最多的一个。不幸的是,第一个(当前?)版本中没有涵盖 Linq to Entities。

回答by dommer

The LINQ in Action book is pretty good. I've supplemented it with the Programming Entity Framework book (978-0596520281) which is pretty in-depth.

LINQ in Action 一书非常好。我已经用编程实体框架书 (978-0596520281) 对它进行了补充,该书非常深入。

I found these books to be quite complementary. The LINQ in Action book gives you a good ground and, where you really need some meat (i.e. LINQ to Entities) the other text does the job.

我发现这些书是相当互补的。LINQ in Action 一书为您提供了一个很好的基础,在您真正需要一些内容(即 LINQ to Entities)的地方,其他文本可以完成这项工作。

回答by Marc Gravell

I've recently been reading an early draft of Entity Framework in Action; it seems to be along the right lines, but isn't complete yet.

我最近一直在阅读Entity Framework in Action的早期草案;它似乎是正确的,但尚未完成。

At this point in time, I'd be wondering which books are covering the VS2010/.NET 4.0 version of Entity Framework, as there are considerable changes afoot. I don't know whether the above book will publish against 3.5 SP1 or 4.0, but it stands a better chance of being up to date than the existing dead trees.

此时,我想知道哪些书籍涵盖了实体框架的 VS2010/.NET 4.0 版本,因为正在进行相当大的更改。我不知道上面的书是针对 3.5 SP1 还是 4.0 出版的,但它比现有的死树更有可能是最新的。