Total noob question - How to delete rows in db
Just started using Linqpad. Its great.
I now need to clear out some tables in my test DB. I am using EF5. How do I delete rows in the table? I tried the DeleteOnSubmit method but I thing that is LinqToSQL. I have also tried RemoveObject but that throws errors as well.
I now need to clear out some tables in my test DB. I am using EF5. How do I delete rows in the table? I tried the DeleteOnSubmit method but I thing that is LinqToSQL. I have also tried RemoveObject but that throws errors as well.
Comments
http://stackoverflow.com/questions/4641251/entity-framework-delete-all-on-submit