KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I read that the new Entity Framework will include a method to delete multiple items (Linq to SQL has DeleteAllOnSubmit()) but I can't find the function/method to do that. Is this in Beta 2 or do I have to make my own? UPDATE: This is what I'm using now: public void DeleteObjects(IEnumerable<object> objects) { foreach (object o in objects) { DeleteObject(o); } SaveChanges(); }
Tags (comma-separated)
Save Edits
Cancel