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