Adapter - how to obtain dirty fields?

Posts   
 
    
miloszes
User
Posts: 222
Joined: 03-Apr-2007
# Posted on: 17-May-2010 20:14:04   

Hi all.

Is it possible to be informed whether a specified field has been changed inside the OnBeforeEntitySave() method?

I'm trying to implement a trigger in entity and want to execute the trigger before save in case the entity field has been changed.

Best Regards, MiloszeS

Walaa avatar
Walaa
Support Team
Posts: 14994
Joined: 21-Aug-2005
# Posted on: 17-May-2010 20:26:45   

You may check the entityField's IsChanged property.

miloszes
User
Posts: 222
Joined: 03-Apr-2007
# Posted on: 17-May-2010 21:06:34   

Works perfect - thank you for a help.

Best Regards, MiloszeS