public void UpdateLastSync(System.Guid? guid) { if (guid.HasValue) this["SyncGuid"] = ((System.Guid)guid).ToString(); this["LastSync"] = System.DateTime.Now; // update object without syncing to AD _syncObject = false; this.Save(); }