BT

A Look inside LINQ

| by Jonathan Allen Follow 635 Followers on Dec 07, 2007. Estimated reading time: 1 minute |

Writing LINQ Providers will become an essential skill for framework developers over the coming years. In the future all .NET libraries that expose a data store will be expected to have LINQ support, and with the recent release of .NET 3.5, the clock has started ticking.

To make it easier for developers, and especially provider writers, to understand how LINQ works, Bart De Smet has create a LINQ clone called LINQSQO or LINQ Standard Query Operators. He describes it as,

This project was one of my first LINQ-related ones and goes back to the early PDC 05 days where LINQ was first shown to the world. The project contains a custom implementation of the LINQ Standard Query Operators used in LINQ. More specifically, it's a clone of the Enumerable static class and all its extensions methods you can find in the System.Linq namespace in System.Core.dll. Thus, you can see it as an equivalent of LINQ to Objects. The primary goal of the project is to give developers a better insight about how LINQ works. Together with the sources we ship a total of 148 unit tests to do some basic testing of all the query operators in there.

Bart has released the RTM version of LINQSQO on CodePlex.

Rate this Article

Adoption Stage
Style

Hello stranger!

You need to Register an InfoQ account or or login to post comments. But there's so much more behind being registered.

Get the most out of the InfoQ experience.

Tell us what you think

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Building a Linq provider by Charles Verdon

The Building an IQueryable Provider series is a really good starting point to build a linq to sql type provider.

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

Allowed html: a,b,br,blockquote,i,li,pre,u,ul,p

Email me replies to any of my messages in this thread

1 Discuss
BT