Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 10 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(9)
101 LINQ 示例 是提供简单示例的好地方。
The 101 LINQ Samples is a good place for simple examples.
101 Linq 示例 是一个很好的起点。
101 Linq samples is a good place to start.
我可以推荐http://www.linqpad.net。它是一个允许您轻松使用 LINQ 查询(或任何与此相关的 C# 代码)的工具,并且它附带了 500 个示例查询之类的内容,您可以将其用作起点。
I can recommend http://www.linqpad.net. It's a tool that allows you to easily play with LINQ queries (or any C# code for that matter) and it comes with something like 500 example queries that you can use as starting points.
过去几个月我一直在学习 Linq。以下是我发现非常有用的资源:
I've been spending the last several months learning Linq. Here are the resources I have found extremely helpful:
您正在考虑 linq 查询,这真是太棒了……在继续之前,我认为您应该知道以下术语的含义。
延迟执行和立即执行
实际上 linq 适用于延迟执行
IQueryable
和IEnumerable
的区别linq to sql 工作在
IQueryable
上,linq to object 工作在IEnumerable
linq to object、linq to sql、linq to dataset、linq to xml 之间的区别< /p>
ObjectTrackingEnabled
和DeferredLoadingEnabled
这些是
DataContext
非常重要的属性其他 ORM,如 linq to sql
llblgen pro、nhibernate、ado.net 实体框架
这些是 linq 的基础知识。一旦你抓住了所有的点,linq 就会变得更有趣。
It's really great that you are thinking of linq queries..well before moving forward I think you should know the meaning of following terms .
Deferred and immediate execution
actually linq works on deferred execution
Difference
IQueryable
andIEnumerable
linq to sql works on
IQueryable
and linq to object work onIEnumerable
Difference between linq to object,linq to sql,linq to dataset,linq to xml
ObjectTrackingEnabled
andDeferredLoadingEnabled
these are the very important properties of
DataContext
Other ORM like linq to sql
llblgen pro, nhibernate, ado.net entity frame work
These are the basics of linq. As soon as you capture all the points, linq will be more interesting.
有一本非常好的书可以帮助您了解所有基础知识。这本书不太厚,应该很快就能读完,非常适合以后参考。
这本书名为 LINQ Pocket Reference
There is a very good book on this to get all the basics. The book is not to thick, and should be quick enough to go through, and perfect for a reference later on.
The book is called LINQ Pocket Reference
如果您正在寻找免费的 LINQ 参考,请查看 Jon Skeet 的精彩系列 Edulinq< /a>.他还有该系列的电子书版本。
另请查看以下其他链接:
50 个 LINQ 示例、提示和操作方法
LINQ 秘密揭秘:链接和调试
林清快乐! ;)
If you're looking for free LINQ references, check Jon Skeet's brilliant series Edulinq. He also has an ebook version of the series.
Also check these other links:
50 LINQ Examples, Tips and How To's
LINQ Secrets Revealed: Chaining and Debugging
Happy LINQin'! ;)
这将是一个非常非正统的观点,但这里有一些用于理解 LINQ 的很棒的学习材料:
它们将引导您直接了解 LINQ 起源,并教您如何解决函数组合方面的问题。
This is going to be a quite non-orthodox opinion, but here are couple of great learning materials for comprehending LINQ:
They will lead you straight to LINQ origins and teach how to solve problems in terms of functions composition.
如果您使用 Visual Studio,您可能会在其内置 片段:
(它已经为我节省了一些时间,有时......)
If you are using Visual Studio, you may find some nice examples in its built-in snippets:
(It already saved me some time, sometimes...)