Search Wiki:


SharePoint 2010 offers many new opportunities to developers, and especially with LINQ to SharePoint. This technology brings a greater flexibility to the developpement model to exploit more easily the data contains in the SharePoint lists. Now to make a query in a SharePoint list is as easy as making a query within a database table, thanks to a real object relational mapping process. Entities generation is made exclusively with the command line tool SPMETAL, which is very different from the way to design data in Entity Framework directly with Visual Studio 2010. This new feature is an extension to Visual Studio for modeling LINQ to SharePoint entities directly in VS2010. With this tool, it’s become possible to add a new kind of item in a VS project, that we name a LINQ to SharePoint schema.

Latest release

Latest stable version : v1.0 CTP (Community Technology Preview)

download_icon.gif Download: LINQ to SharePoint DSL Extention.v1.0CTP.msi (494K)

xps.gif Download: LINQ to SharePoint DSL Extention.v1.0CTP.xps (2031K)
pdf.gif Download: LINQ to SharePoint DSL Extention.v1.0CTP.pdf (1352K)
Complete release notes

Project description

LINQ to SharePoint DSL project contains the following features:
  • Visual Studio 2010 Extension to manage *.l2sp schema files and generate code
  • New "SharePoint Data Model" Visual Studio item type
  • Wizard to build a mapping model
  • Preconstructed SharePoint site models including blank model, team site, publishing site, enterprise wiki, blog, document workspace, ...
  • Wizard to automatically load the model from an existing SharePoint 2010 web site
  • Visual LINQ to SharePoint entities designer
  • Automatic generation of code thanks T4 text templating technology
  • Support C# or

This tool requires:
  • Visual Studio 2010 Pro/Ultimate RTM - English
  • SharePoint Server 2010 RTM (or Microsoft SharePoint Foundation 2010 RTM) - English

Please note that the LINQ to SharePoint DSL Extension for VS2010 is not officially supported by Microsoft.
Support is provided only via the Issue tracker and the discussion forum in this project space.


LINQ to SharePoint DSL 06_small.png LINQ to SharePoint DSL 07_small.png LINQ to SharePoint DSL 08_small.png
px50.gifzoom_icon.gif Zoom px50.gifpx50.gifpx50.gifzoom_icon.gifZoom px50.gifpx50.gifzoom_icon.gifZoom
LINQ to SharePoint DSL 09_small.png LINQ to SharePoint DSL 11_small.png LINQ to SharePoint DSL 24_small.png
px50.gifzoom_icon.gifZoom px50.gifpx50.gifpx50.gifzoom_icon.gifZoom px50.gifpx50.gifzoom_icon.gifZoom


Screencast #1: Extension overview
Available language: English & French
Duration: 00:10:00
Format: WMV HD
screencast1-en.png screencast1-fr.png
zoom_icon.gif Download (EN) zoom_icon.gif Download (FR)


04-29-2010 Release version: 1.0 CTP
03-03-2010 Release version: 0.9
02-02-2010 Release version: 0.8.1 Alpha
News: VB item templates and VB code generation available
01-30-2010 Release version: 0.8 Alpha
Last edited May 4 2010 at 5:09 AM  by OlivierCarpentier, version 36
Goddard wrote  Nov 27 2010 at 6:04 AM  
This is a true Gem!!! You have done a fantastic job on this and I stumbled upon it only after writing my own VSIX project to generate classes with SPMetal. You've done a bang-up job on the class designer. I was really hoping to see support for external content types, which is actually how I came across this great developer productivity tool! Is there any plan to incorporate this with the default build of VS?

Thanks for this great tool!

SteveB_ wrote  Jun 27 2012 at 12:56 PM  
This tools would benefits from going opensource, on hosted that encourage collaborative and community development (I think github, but codeplex wit git also).

From a production perspective, it's hard to work with a project maintained by only one guy. Microsoft does not support it. The source code is not available. So what's happen if tomorrow a major issue appears with this software and Olivier Carpentier is not able to fix (or does not have time, or have better things to do with o15, or ... or ...).

I'm not religiously saying that open source is the way to think today. But I think software should either be commercial and supported or open source.

Hope my call will be hear.


OlivierCarpentier wrote  Aug 24 2012 at 1:49 PM  
Hi SteveB_, I'm agree with you and I tried to move this project on codeplex with an open source license some month ago. But for very specific legal requirements, I can not do that. I'm really sorry for that. So the project is now available "as is" with a lot of whitespaces and bugs. My release roadmap is very slow and to be honnest, is as "a best effort". If you're using this tool and that it's working fine it's good for you. But if you're planning to use it on a new project on a production project, think about these limitations.



Page view tracker