Open a Command Prompt window.
Change the current path to the SPMetal.exe file location (it is usually [DRIVE:]\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN).
Type the following command:
SPMetal /web:http://MyServer/SiteName /code:SiteName.cs
where:
http://MyServer/SiteName is the fully-qualified URL of your site.
SiteName.cs is the output file for the generated code.
LINQ to SharePoint spmetal.exe does not support external lists
Change the current path to the SPMetal.exe file location (it is usually [DRIVE:]\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN).
Type the following command:
SPMetal /web:http://MyServer/SiteName /code:SiteName.cs
where:
http://MyServer/SiteName is the fully-qualified URL of your site.
SiteName.cs is the output file for the generated code.
LINQ to SharePoint spmetal.exe does not support external lists
No comments:
Post a Comment