SenseNet.ContentRepository.Domain.UpdateLastSync C# (CSharp) Method

UpdateLastSync() public method

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

            this.Save();
        }
    }