Sunday, May 23, 2010

SPMetal

SPMetal is a command line tool that generates entity classes, which provide an object oriented interface to the Microsoft SharePoint Foundation content databases.

Example:
Generate C# code with a specified namespace:
spmetal.exe /web:http://servername/sitename /namespace:namespacename /code:SPLinq.cs

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

No comments:

Post a Comment