Interested in Sitecore?

Apply for our Mentorship Program by emailing your resume to Check out our ASP.NET QuickStart and C# QuckStart Libraries. Below is my latest articles.

Friday, July 25, 2008

Linq's Lack of Consistancy

I have been playing with the various flavors of Linq: Linq for Objects, Linq for SQL, Linq for XML. The one thing I found troublesome was the vast difference in the syntax and functionality between them. We need someone to write a library above linq to get rid of some of these. For example: Linq to DataSet allows you to do use an extension method to grab it as a datatable or dataview. I would love to do the same regardless of whether I am using XML as my data source or SQL Server. The point of Linq is to reduce the amount of code needed. If we reduce some of the differences then we can share even more of the code and further reduce the lines we need.

If anyone has any extension method classes or a framework over linq that will do this let me know and I will post it here for other to use.

No comments: