InfoQ

News

Should LINQ to SQL Go Open Source

Posted by Jonathan Allen on Jul 24, 2008

Community
.NET
Topics
Open Source ,
Data Access
Tags
LINQ ,
ADO.NET Entity Framework

More and more, LINQ to SQL is being seen as a temporary solution. With the impending release of ADO.NET Entity Framework, a lot of people are worried that development on LINQ to SQL will fall by the wayside. With Microsoft's long history of developing and discarding database access technologies, these concerns are not without merit.

Further compounding the issue is that LINQ to SQL has been transferred to the SQL Data Programmability team, the very same group working on ADO.NET Entity Framework. With their own project filling a similar role, it is hard to see them wanting to devote a lot of time to the adopted project.

So this raises the question, "Should LINQ to SQL Go Open Source?" Leon Bambrick asks that question and provides some analysis. One of the biggest concerns he raises is the liability issue, wherein Microsoft may be reluctant to ship something with the framework that has had external contributions. On the other hand, it might be what's needed to push through community-driven features such as mockability and multiple providers.

Not completly temporary by Francois Ward Posted Jul 24, 2008 8:17 AM
LINQ to SQL was never even supposed to exist by Danijel Arsenovski Posted Jul 26, 2008 12:17 PM
  1. Back to top

    Not completly temporary

    Jul 24, 2008 8:17 AM by Francois Ward

    LINQ to SQL is for small to "less small" (not quite medium =P) solutions... half a notch up from Typed Datasets. LINQ to Entity doesn't replace that, and its with that mindset that LINQ to SQL was developed (also as an introduction to other ORMs, to put the idea on the map).

    LINQ to SQL serves its purpose pretty well seen from that angle, so its probably fine.

  2. Back to top

    LINQ to SQL was never even supposed to exist

    Jul 26, 2008 12:17 PM by Danijel Arsenovski

    It would be a shame if LINQ to SQL proves to be only a temporary solution; now that it has been officially released I think Microsoft has a duty to provide a decent lifecycle for this product.
    My biggest objections to LINQ to SQL are following:

    1. LINQ to SQL works only with Microsoft SQL Server

    2. LINQ to SQL is that it is no 100% POCO. Framework forces you to use System.Data.Linq.EntitySet type on "many" side of one-to-many relationship and EntityRef on the "one" side of one-to-many relationship.

    3. Single table inheritance

    These are not the only ones, but you have to give them some slack since this is the first version of the product.

    Some interesting background on LINQ to SQL origins:
    The LINQ to SQL was never even supposed to exist

Educational Content

Brian Marick on 4 Challenges and 5 Guiding Values of Agile Software Development

Brian Marick takes us through a quick tour of the most important values and challenges to adopting Agile successfully (they aren't the typical challenges and values we hear in the community).

Are You a Software Architect?

The line between development and architecture is tricky. Does it exist at all? Is an ivory tower actually needed? There's a balance in the middle, but how do you move from developer to architect?

Agile – A Way of Life and Pragmatic Use of Authority

The word 'authority' sometimes produces an allergic response in hard-line agilists. Freedom and authority – both are bad if misused and both are good if used in right spirit for a noble cause.

Getting Started with Grails, Second Edition

"Getting Started with Grails" brings you up to speed on this modern web framework. Companies as varied as LinkedIn, Wired, and Taco Bell are all using Grails. Are you ready to get started as well?

Using ITIL V3 as a Foundation for SOA Governance

Those familiar with only ITIL V2 often scoff at the thought that ITIL could serve as a governance framework for SOA. With ITIL V3, the focus of the framework shifted towards service-orientation.

Adrian Colyer on AspectJ, tc Server and dm Server

SpringSource CTO Adrian Colyer discusses AspectJ, SpringSource's dm Server and tc Server products, OSGi and Scrum.

Adam Wiggins on Heroku

Heroku's Adam Wiggins talks about Rails, Background Jobs, Add-Ons, Ruby, and how Heroku manages to work around Ruby's inefficiencies using Erlang and other languages.

SOA as an Architectural Pattern: Best Practices in Software Architecture

For Grady Booch the foundation of a good architecture is patterns, SOA being just one of many patterns. In this Second Life presentation, Booch attempts to bring more clarity on what architecture is.