in

SharePoint Blogs

The Best Place for SharePoint-related Blogs

OBA, SharePoint and Aghy [MVP]

LINQ4SP - Create new list item

Well, we can query our SharePoint lists with LINQ4SP, that's great.

But what about data manipulation? Can we create, modifiy or delete items as well? My answer is: yes, we can! We are able to create new item, modify or delete items with LINQ4SP!

First of all, let's see an item creation: we'll insert a new Product item to our Products list. This list is migrated from AdwentureWorks database, with some other tables. We don't need the whole AdwentureWorks database for our demos, so we migrate only a few tables, as you can see on the following schema. One special thing is, that we don't have ProductVendor list, but it't just represented by a multi-lookup field between Vendor and Product lists (of course, with no additional fields).

 

So, in this demo I'll show you how to insert a new Product into the SharePoint list. Are you ready? Click here for video... 

Comments

 

OBA, SharePoint and Aghy [MVP] said:

Well, we can query our SharePoint lists with LINQ4SP, that's great. But what about data manipulation

May 17, 2008 8:59 AM
 

Dew Drop - May 17, 2008 | Alvin Ashcraft's Morning Dew said:

Pingback from  Dew Drop - May 17, 2008 | Alvin Ashcraft's Morning Dew

May 17, 2008 9:09 PM
 

OBA, SharePoint and Aghy [MVP] said:

Well, how do you like our solution to query a list or insert a new item to a list by LINQ4SP? What do

May 20, 2008 5:13 PM
 

OBA, SharePoint and Aghy [MVP] said:

OK, let's play with LINQ4SP again. You can download Beta1 , write a simple query , create a new list

May 25, 2008 4:10 PM
 

SharePoint MVP Blogs said:

Well, we can query our SharePoint lists with LINQ4SP, that's great. But what about data manipulation

June 19, 2008 10:02 AM

Leave a Comment

(required )  
(optional )
(required )  
Add

Need SharePoint Training? Attend a SharePoint Bootcamp!

Posts (c) their respective authors. Everything else (c) 2007 SharePoint Experts