Hello Vincent,
Here is a litle example :
class MyEntityServerSaveManager : EntityServerSaveInterceptor
{
protected override bool ExecuteSave()
{
foreach (var entity in EntityManager.FindEntities(EntityState.Modified).OfType<MyEntity>())
{
var oldValue = (string)EntityAspect.Wrap(entity).GetValue("MyStringProperty", EntityVersion.Original); var newValue = entity.MyStringProperty;
if (oldValue != newValue)
{
//...
}
}
return base.ExecuteSave();
}
}