Resources for learning LINQ and Entity Framework Queries?
everyone. I'm trying to learn how to write LINQ queries, and am wondering if you can help me kick-start it with some resource recommendations.
I am trying to learn how to write simple and complex queries that look like this, which I think is standard LINQ syntax ...
from b in blahCollection
join f in fooCollection
where b.Field == someValue
select new { b.Field, f.field }
... and this, though I'm not sure what this syntax is called. (What is it called?)
var plan = blahCollection.Find(b => b.Field == someValue).FirstOrDefault();
The best resources, I think, would be those that would allow me to practice queries on sample databases. I've heard about LINQPad, but have not yet evaluated it. Is this a good choice? Are there better choices?
MSDN是要走的路,下面是C#页面的“LINQ入门”的链接:http://msdn.microsoft.com/en-us/library/bb397933.aspx
链接地址: http://www.djcxy.com/p/51338.html下一篇: 学习LINQ和实体框架查询的资源?