Dirty Fields

Posts   
 
    
yna
User
Posts: 3
Joined: 23-Feb-2010
# Posted on: 25-Mar-2010 11:19:06   

How can I get a list of dirty fields after I have saved an entity?

I Could not find a method like this: AEntity.:GetDirtyFields();

I can only specify the field is dirty or not one by one by using like this: AEntity.FieldName.IsDirty

But if i have many fields?

Can you help me about this subject.

Walaa avatar
Walaa
Support Team
Posts: 14994
Joined: 21-Aug-2005
# Posted on: 25-Mar-2010 11:29:33   

Do you want to set fields to IsDirty, or do you want to get Dirty fields?

Anyway you'll have to loop on the fields to either set the IsDirty flag or to get those which are dirty.