This question is locked. New answers and comments are not allowed.
We need to be able to mark an object as deleted without actually deleting it from the database. This allows us to retain archival data along with satisfying any lookup fields that may still reference the deleted data.
myLookup.Deleted; // value equals false
_scope.Remove(myLookup);
_scope.Commit();
myLookup.Deleted; // value equals true
Is there a way to intercept the scope and cancel the deletion?
Additionally,
What is the best way to set ModifiedBy, CreatedBy, etc fields? Tracking Events?
myLookup.Deleted; // value equals false
_scope.Remove(myLookup);
_scope.Commit();
myLookup.Deleted; // value equals true
Is there a way to intercept the scope and cancel the deletion?
Additionally,
What is the best way to set ModifiedBy, CreatedBy, etc fields? Tracking Events?