I am deleting entities with hard delete by marking EntityState.Deleted;
I have also enabled CDC in the DB tables.
How can I capture deletedby from the application through entity framework?
I have tried to set deletedby value. But then the entity state is in 'deleted' state, the updated value is not reflecting in the table. Please don't suggest to update 'deletedby' column value first and then perform real delete.