I have an entity class (using model first, if that matters) that should persist its own last change date.
Is there a way to update this on saving? Right now I have only found overriding OnPropertyChanged but that is not the right override, as it is also called when loading the object.
You can override SaveChanges on your ObjectContext derived class and modify the last change date just before saving. Something like: