Exemple #1
0
        // Reset all change-tracking status for all properties on the object to "unchanged".
        internal override void ResetAllChangeStatus()
        {
            GlobalDebug.WriteLineIf(GlobalDebug.Info, "Group", "ResetAllChangeStatus");

            _groupScopeChanged      = (_groupScopeChanged == LoadState.Changed) ? LoadState.Loaded : LoadState.NotSet;
            _isSecurityGroupChanged = (_isSecurityGroupChanged == LoadState.Changed) ? LoadState.Loaded : LoadState.NotSet;

            if (_members != null)
            {
                _members.ResetTracking();
            }

            base.ResetAllChangeStatus();
        }
Exemple #2
0
 static public void MCResetTracking(PrincipalCollection trackList)
 {
     trackList.ResetTracking();
 }