LINQ to SQL, LINQ to Amazon, LINQ to Coffee Machine ...

At "Meet the LINQ Team" session at TechEd, I got a few questions about LINQ to SQL and if it was possible to build a similar implementation. The answer is - absolutely you can. Take the soon-to-be released expression tree API documents, a few samples on the net and start cooking. What can you build a LINQ provider for? Any source of data worth querying. Who knows, it could be a smart fridge which tells you about the contents and perhaps down the road - your coffee machine.

 The complexity of a provider depends on:
1. What set of query operators you choose to implement; and
2. Difference between the query operators and the target query language or API; and
3. Level of optimization or tuning you want to do; and finally
4. Availability of samples (yes, you guessed right. Our team members are working on this one in addition to the community at large)

Coffee machine aside, there are many providers already available. Most are based on May 2006 LINQ CTP but most can be upgraded to .NET Framework 3.5 without too much effort. Charlie's blog post and Oakleaf systems blog post have good starter lists.

 

 

Published 10 June 07 07:39 by Dinesh.Kulkarni

Comments

# scott brown said on June 12, 2007 10:16 AM:

Thanks for the great Q&A at TechEd!

I am really looking forward to the release of the Expression Tree documentation.  Do you have a date yet?

# Charlie Calvert's Community Blog said on June 20, 2007 5:20 PM:

Welcome to the XXVIII Community Convergence. In these posts I try to wrap up events that have occurred

# Leaf said on July 27, 2007 5:33 AM:

Seems great, could make a provider for websites, like select newdoc from msdn, haha

or select images from aGoogleSearch

how cool could this world be?

# Bart said on August 3, 2007 8:46 AM:

LINQ to SharePoint, targeting CAML-based queries, is another one that might be interesting. Check it out on http://www.codeplex.com/LINQtoSharePoint.

-Bart

# Sobre C#, LINQ y algo más... said on December 3, 2007 6:18 PM:

Uno de los "mind stoppers" con los que me encuentro con más frecuencia durante las charlas

New Comments to this post are disabled

About Dinesh.Kulkarni

I am a program manager in the Visual C# Product Unit of Microsoft. I am currently working on the LINQ project with specific responsibility for DLinq. Previously, I have been in a PM in SQL Server working on ObjectSpaces and DataSet. In pre-MS life, I have worked for companies ranging from startup to IBM on a wide range of software projects. Before I started working, I did M.S.E.E. and Ph.D. (CSE) from the University of Notre Dame and B.Tech. E.E. from IIT Bombay, India.
Page view tracker