public void UpdateLastSync(System.Guid? guid) { if (guid.HasValue) this["SyncGuid"] = ((System.Guid)guid).ToString(); this["LastSync"] = System.DateTime.Now; this.Save(); } }