Category Archives: Sharepoint 2010 LINQ

REST and LINQ | SharePoint 2010


http://www.dotnetmafia.com/blogs/dotnettipoftheday/archive/2010/01/21/introduction-to-querying-lists-with-rest-and-listdata-svc-in-sharepoint-2010.aspx

Posted in Sharepoint 2010 LINQ | Leave a comment

SPMetal – SharePoint 2010 LINQ Sample in Visual Webpart


SPMetal – SharePoint 2010 LINQ Sample in Visual Webpart “C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN\SPMetal” /web:http://admin2-pc:10 /namespace:SPwithLinq.VisualWebPart1 /code:SPMetal.cs /language:csharp  /parameters:SPMetal.xml Add Reference : Microsoft.SharePoint.Linq Namespace: using Microsoft.SharePoint; using Microsoft.SharePoint.Linq; using System.Linq; SPMetalDataContext oDat = new SPMetalDataContext(SPContext.Current.Site.Url);             var Employees = … Continue reading

Posted in Sharepoint 2010 LINQ | Leave a comment