01 December 2007

LINQ: "Add" renamed to "InsertOnSubmit"

If you are using LINQ to insert data with RTM bits you won't find the Add method on the DataContext post Beta2.  Use the InsertOnSubmit method instead. 

Filed under: , ,
 

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

# Free People Searches » LINQ: “Add” renamed to “InsertOnSubmit” said:

PingBack from http://www.absolutely-people-search.info/?p=2015

01 December 07 at 11:29 PM
# Noticias externas said:

If you are using LINQ to insert data with RTM bits you won't find the Add method on the DataContext

01 December 07 at 11:54 PM
# Jim said:

that is sure nice to know, I was looking at Scott's blog and like where the world is the "Add", thanks!

22 February 08 at 8:08 PM
# natan said:

Also "Remove" renamed to "DeleteOnSubmit"

28 April 08 at 7:41 AM
# -mika- said:

Scott's old blog entry is causing confusion, for many it is the primary tutorial on LINQ

http://weblogs.asp.net/scottgu/archive/2007/07/11/linq-to-sql-part-4-updating-our-database.aspx#3106580

15 July 08 at 4:37 AM
# helpwithdotnet said:

InsertOnSubmit Articles

http://www.helpwithdotnet.com/Results.aspx?cx=007832332494715693351%3Ayoyjtx8vfly&cof=FORID%3A10&ie=UTF-8&q=InsertOnSubmit&sa=Search+.NET+Content#925

05 March 09 at 6:15 PM

Leave a Comment

Comment Policy: No HTML allowed. URIs and line breaks are converted automatically. Your e–mail address will not show up on any public page.

(required) 
(optional)
(required) 

  
Enter Code Here: Required
Page view tracker