I want to execute a Db UPDATE whenever a particular object is Removed from the context in Entity Framework.
But as it is deleted in the end, EF does not execute an UPDATE in the Db.
Can I enforce EF to really execute a Db UPDATE and then DELETE the entity afterwards?
Thanks
PS : The reason I want to enforce an UPDATE before DELETE is because there is a trigger on the Db which helps me obtain some info for later use.