SyntaxFix
Write A Post
Hire A Developer
Questions
If you dont want to query for it just create an entity, and then delete it.
Customer customer = new Customer() { Id = 1 } ; context.AttachTo("Customers", customer); context.DeleteObject(customer); context.Savechanges();