SPMetal Linq with SharePoint 2010

SPMetal is a command line tool that generates entity classes, which provide an object oriented interface to the Microsoft SharePoint Foundation content databases. These classes are primarily used in LINQ to SharePoint queries; but they are also be used to add, delete, and change list items with protection against concurrency conflicts. Finally, they can be used as an alternative to the regular SharePoint Foundation object model for referencing content.

The tool is included with SharePoint Foundation and is usually located in %ProgramFiles%\Common Files\Microsoft Shared\web server extensions\14\\BIN.

Reference:

http://msdn.microsoft.com/en-au/library/ee538255.aspx

http://msdn.microsoft.com/en-au/library/ee536692.aspx

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.