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.
PingBack from http://www.absolutely-people-search.info/?p=2015
If you are using LINQ to insert data with RTM bits you won't find the Add method on the DataContext
that is sure nice to know, I was looking at Scott's blog and like where the world is the "Add", thanks!
Also "Remove" renamed to "DeleteOnSubmit"
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
InsertOnSubmit Articles
http://www.helpwithdotnet.com/Results.aspx?cx=007832332494715693351%3Ayoyjtx8vfly&cof=FORID%3A10&ie=UTF-8&q=InsertOnSubmit&sa=Search+.NET+Content#925
"# -mika- said:
Scott's old blog entry is causing confusion, for many it is the primary tutorial on LINQ"
damn right! Great tutorial, but where is the .Add !?
Glad I found this information
I spent 4 hours trying to add some simple data to my table.
Thanks I found this explanation about new name of the method.