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); }
protected void ApplyRemoteChange(IConflictsManager conflictsManager) { RemoteChanges.ApplyChanges(DataStore as ISqlDataStore, StatProvider, conflictsManager); StatProvider.SetConflicts(conflictsManager); }