Ejemplo n.º 1
0
        private void SyncServerChange()
        {
            if (SyncType == SyncTypes.OneWay)
            {
                return;
            }

            GetRemoteChanges();
            ApplyRemoteChange(new IgnoreAllConflicts());
            var conflicts = Transport.Receive <ResolveAllConflicts>();

            StatProvider.SetConflicts(conflicts);
            conflicts.ApplyRemoteResolution(DataStore as ISqlDataStore, SyncSession, StatProvider);
        }
Ejemplo n.º 2
0
 protected void ApplyRemoteChange(IConflictsManager conflictsManager)
 {
     RemoteChanges.ApplyChanges(DataStore as ISqlDataStore, StatProvider, conflictsManager);
     StatProvider.SetConflicts(conflictsManager);
 }