public bool OnPreUpdate(PreUpdateEvent @event)
{
var timestamped = (@event.Entity as ITimestamped);
if (!isValidEntity(timestamped)) return false;
if (timestamped.Timestamp == null)
timestamped.Timestamp = new Timestamp();
timestamped.Timestamp.Modify();
updateState(@event.Persister, @event.State, "Timestamp", timestamped.Timestamp);
return false;
}