Total NOOB question. I have been using the new linqpad for about 20 minutes now. Great!
But now i want to delete a row in the db. I am using a EF5.0 connection. I cant seem to find anything in the help files or on the net. The only thing I can find is DeleteOnSubmit which doesnt work with EF (as far as I can see). I have also tried DeleteObject which doesnt work either. This is what I have tried.
var co = Companies.First();
co.Dump();
Companies.DeleteObject(co);
DeleteObject(co)
and thenSaveChanges()
? – Aleph