LINQ

 Rate It (4)

From MSDN: "The LINQ Project is a codename for a set of extensions to the .NET Framework that encompass language-integrated query, set, and transform operations. It extends C# and Visual Basic with native language syntax for queries and provides class libraries to take advantage of these capabilities."

You'll find lots over at the MSDN Linq Project Site as well as the LINQ General Forum.

Featured Information

LINQ on Channel9 LINQ and Functional Programming

Anders Hejlsberg, the chief architect of C#, describes the next release of Visual Studio, code-named Orcas. The video explores functional programming and the ways LINQ simplifies how we write database and XML queries in C# and VB. 

LINQ Project Overview LINQ to XML

LINQ to XML was developed with Language-Integrated Query over XML in mind and takes advantage of standard query operators and adds query extensions specific to XML.

How do I? Videos on LINQ

  • How Do I: LINQ to SQL: Overview - New language features for C# and VB support data access directly from code, without writing SQL. This video shows the minimum steps to use LINQ (Language Integrated Query) to query, update, add and delete rows from the Northwind database.
  • How Do I: LINQ to SQL: Data Model - LINQ to SQL relies on an object-to-relational model set of classes that map to your database tables. Visual Studio 2008 includes a visual ORM design surface that maps these tables to code.
  • How Do I: LINQ to SQL: Querying the Database - This video shows how to query a database with LINQ, the underlying SQL with a query visualizer, databinding to ASP.NET controls and record paging.
  • How Do I: LINQ to SQL: Updating the Database - In this video I demonstrated how to create, update and delete records through LINQ, simple transactions, updates across relationships, and custom column and row validation.
  • How Do I: LINQ to SQL: LinqDataSource - The new asp:LinqDataSource control .NET 3.5 makes binding to UI elements easy. In fact, no code was written or harmed in the making of this video. Query, update, delete, paging, sorting, all done through LINQ and the LinqDataSource.
  • How Do I: LINQ to SQL: Custom LinqDataSource - The LinqDataSource control can be customized declaritively, as shown in Part 5, or through code by handling the Selecting method.
  • How Do I: LINQ to SQL: Using Stored Procedures - Using existing stored procedures and functions is easy with LINQ. We simply drag the stored procedures onto the O/R mapping surface and call them from the generated Data Context object.

Videos

  • Future Directions for Data Programming in Visual Basic - Join Paul Vick and Amanda Silver as they discuss some of the features coming in Visual Basic 9.0.
  • Using Visual Basic as a Dynamic Programming Language - Paul Vick and Erik Meijer talk about the dynamic aspects of programming in Visual Basic, both in Visual Basic 2005 and Visual Basic 9.0.
  • C# 3.0 Language Enhancements in Action - See the changes proposed to C# 3.0 in action. This video showcases implicit variable declaration, extension methods and lambda expressions. This presentation is based on an earlier release of the Microsoft Visual Studio Code Name “Orcas” C# LINQ CTP.  
  • C# 3.0 LINQ in Action - This video showcases the use of The LINQ Project with C# 3.0. In this video, LINQ is used to query in-memory data stores. This presentation is based on an earlier release of the Microsoft Visual Studio Code Name “Orcas” C# LINQ CTP.
  • C# 3.0 XLinq in Action - This video showcases the use of The LINQ Project with C# 3.0. In this video, LINQ is used to query XML files. This presentation is based on an earlier release of the Microsoft Visual Studio Code Name “Orcas” C# LINQ CTP.  
  • C# 3.0 DLinq in Action - This video showcases the use of The LINQ Project with C# 3.0. In this video, LINQ is used to query relational databases. This presentation is based on an earlier release of the Microsoft Visual Studio Code Name “Orcas” C# LINQ CTP.

Blog Posts by ScottGu

Enjoy! Be sure to take a look at the sub-topics on LINQ in the Table of Contents in this Wiki.

Revision number 1, Monday, February 04, 2008 8:00:00 AM by
This is not the most up to date version of this article. The most recent version can be found here.

Comments

Very good blogs by Scoot Gu'..

In This Section

Lambda Expressions

Lambda expressions provide a concise, functional syntax for writing anonymous methods. They are super useful when writing LINQ query expressions as they provide a very compact andtype-safe way towrite functions that can be passed as arguments for subsequent

LINQ to DataSets

Introduction LINQ is one of the new entrants in C# 3.0, introduced as part of .NET 3.5. As you are already aware, LINQ is a unified querying framework to retrieve data from various data sources such as relational databases, XML, plain objects and new LINQ

LINQ to XML

It seems we can LINQ to everything these days. Here's some resources that will get you started using LINQ with XML. Introduction .NET Language-Integrated Query for XML Data- This MSDN introduction is 44 pages in fairly easy to read detail on LINQ to XML

LINQ to Objects (and Everything)

The most hyped new feature in Visual Studio 2008 is LINQ, which stands for Language INtegrated Queries. It's awesome, and you'll be using it to talk to SQL, Objects and everything in between. Specifically to LINQ to Objects, this mechanism has the

LINQ to SQL

Start with listening to Anders talk about LINQ in Anders Hejlsberg on LINQ and Functional Programming this video and reading the MSDN Introduction to LINQ. If that's too long, perhaps the 5 Minute Intro is more your speed. There's also a good Channel

Shortcuts

Table of Contents

Top Wiki Contributors

(last 30 days)

  1. mbanavige (5)
  2. SGWellens (4)
  3. maartenba (2)
  4. rami_nassar (2)
  5. stiansol (2)
  6. MisterFantastic (2)
  7. satish1.v (1)
  8. raklos (1)
  9. mosessaur (1)
  10. Jos Branders (1)

Advertise Here

Microsoft Communities
Page view counter