SharePoint Blogs / SharePoint University
SharePoint Blogs and SharePoint University - all in one place!
Need SharePoint Training? Attend a SharePoint Bootcamp!

Please delete cookies related to sharepointblogs.com and sharepointu.com to resolve login issues!

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... 


Posted 05-17-2008 2:47 PM by Agnes Molnar

Comments

OBA, SharePoint and Aghy [MVP] wrote LINQ4SP - Create new list item
on 05-17-2008 8:59 AM

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

Dew Drop - May 17, 2008 | Alvin Ashcraft's Morning Dew wrote Dew Drop - May 17, 2008 | Alvin Ashcraft's Morning Dew
on 05-17-2008 9:09 PM

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

OBA, SharePoint and Aghy [MVP] wrote LINQ4SP - How to create a new item with a lookup to another list?
on 05-20-2008 5:13 PM

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

OBA, SharePoint and Aghy [MVP] wrote LINQ4SP - Delete a list item
on 05-25-2008 4:10 PM

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

SharePoint MVP Blogs wrote LINQ4SP - Create new list item
on 06-19-2008 10:02 AM

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

Add a Comment

(required)  
(optional)
(required)  
Remember Me?
Need SharePoint Training? Attend a SharePoint Bootcamp!
Posts (c) their respective authors. Everything else (c) 2009 SharePoint Experts, Inc.