Example #1
0
        public static void MarkAsSynced(SqlBase origin, Guid SyncGuid)
        {
            SyncHistory syncHistory = new SyncHistory
            {
                DeviceId = Daemon.Devices.Device.Current.DeviceId,
                Guid     = SyncGuid
            };

            origin.Table <SyncHistory>().Delete(x => x.Guid == syncHistory.Guid);
            origin.Insert(syncHistory, string.Empty);
        }