How to i commit changes in LinqPad?
Options
Hello,
I wrote some statements and at the end I'm using SubmitChanges(); I have found on the internet, but there's an error saying
CS0103 The name 'SubmitChanges' does not exist in the current context
Thanks in advance.
I wrote some statements and at the end I'm using SubmitChanges(); I have found on the internet, but there's an error saying
CS0103 The name 'SubmitChanges' does not exist in the current context
Thanks in advance.
Comments
-
Please note, Im using the free edition.
-
Are you using Entity Framework? If so, you need to call SaveChanges() instead of SubmitChanges().
-
this.Update(ef);
this.Update(contact);
Used that for the update,
Thanks for the help.