3.5.1. Unnecessary update check of parent if only child is dirty.

3.5.1. Unnecessary update check of parent if only child is dirty.

Old forum URL: forums.lhotka.net/forums/t/5129.aspx


tetranz posted on Monday, July 21, 2008

I know that the example is probably the last thing to do but in ProjectTracker, the parent object's DataPortal_Update should probably check IsSelfDirty to avoid an unnecessary update if the parent is clean.

Resource is still using base.IsDirty and Project doesn't do any check.

Ross

RockfordLhotka replied on Monday, July 21, 2008

Good catch, thanks!

Copyright (c) Marimer LLC