SubmitChanges doesn't work
-
Hi I've got a DBML file with tables and when I use InsertOnSubmit() then call SubmitChanges() it'll return a correct object (with new values), but when I exit from debugging, it doesn't store the changes in the DB. I read somewhere that VS.Net copies the DB everytime you debug by default, but I couldn't find out how to stop that. Can anyone please provide me with details on how to do that? Thanks
-
Hi I've got a DBML file with tables and when I use InsertOnSubmit() then call SubmitChanges() it'll return a correct object (with new values), but when I exit from debugging, it doesn't store the changes in the DB. I read somewhere that VS.Net copies the DB everytime you debug by default, but I couldn't find out how to stop that. Can anyone please provide me with details on how to do that? Thanks
Hi... just starting to work with LINQ (better late than never)... I'm having the same conflict with SubmitChanges() method... DOESN'T WORK! I've seen in forums that the problem is the table having a PrimaryKey defined... not the case! Did you ever get this to work? SuperJB