Category Archives: LINQ

LINQ to SharePoint and transaction

In SharePoint 2010 you can use LINQ to insert items into a list like this: using (var context = new DataEntitiesDataContext(http://localhost/)) {        var item1 = new MyListItem();        item1.Comment = “Item 1”;        var item2 = new MyListItem();        … Continue reading

Posted in LINQ, SharePoint | 2 Comments