var id = 1; using (var db = new entityContext()) { // Create stub entity var entity = new myEntity { ID = id }; // Attach the entity to the context. db.dbset.Attach(entity); // Remove the entity. This marks it for deletion db.dbset.Remove(entity); // Save changes. EF will see that the entity state has changed, // and process it accordingly. In this case performing a delete query. db.SaveChanges(); }