Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>Linq is short for "Language integrated query." It's a set of language enhancements built into C# and VB. Basically, what you get is a bunch of standard query operators that can be applied to any IEnumerable of type T. There's a lot of different linq providers for specific types of data- for example, there's linq to xml, linq to entities, even linq to sharepoint. </p> <p>To get started with linq, in all its many forms, I suggest the book <a href="http://rads.stackoverflow.com/amzn/click/1590597893" rel="nofollow noreferrer">Pro Linq by Joseph C. Rattz.</a> It's an excellent overview of Linq. He takes a ground-up approach, first describing all the language features (like Lambda Expressions and Expression Trees) that Linq is built on, and then moving on to some standard linq provider implementations.</p> <p>Additionally, here's a pretty good MSDN article describing Linq: <a href="http://msdn.microsoft.com/en-us/library/bb308959.aspx" rel="nofollow noreferrer">LINQ: .NET Language-Integrated Query</a></p> <p>Now, Linq to Sql is a linq provider written specifically for SQL Server. Included in this provider is an OR/M, that gives you some handy-dandy functionality (like typing out all your sql tables, so you get a robust design-time view of your database schema.) It's totally awesome, and for me, has greatly speed up development time when working with a sql database. The book I recommended above also has a great section about using Linq To Sql. Also, here's a good "beginner's guide" article from MSDN: <a href="http://msdn.microsoft.com/en-us/library/bb425822.aspx#linqtosql_topic1" rel="nofollow noreferrer">Linq To SQL: .NET Language-Integrated Query for Relational Data</a></p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload