Bypassing IsDirty Checks

Posts   
 
    
MarcoP avatar
MarcoP
User
Posts: 270
Joined: 29-Sep-2004
# Posted on: 10-Jan-2007 15:20:31   

Ok, I would like to set some default property values for my entities and I see there is a custom region called 'InitClassEmpty'. The problem is that after I added my code there and set my properties, my entity is marked as dirty (which is what I do not want, I want to bypass the dirty checks). Can I simply say 'base.IsDirty = false;' after I initialize my code or will that screw up some stuff?

Thanks

Walaa avatar
Walaa
Support Team
Posts: 14995
Joined: 21-Aug-2005
# Posted on: 10-Jan-2007 15:30:00   

Yes you can. It won't screw up things.

MarcoP avatar
MarcoP
User
Posts: 270
Joined: 29-Sep-2004
# Posted on: 10-Jan-2007 15:33:43   

thanks!