aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBComparer.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBComparer.cs')
-rw-r--r--Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBComparer.cs10
1 files changed, 5 insertions, 5 deletions
diff --git a/Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBComparer.cs b/Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBComparer.cs
index 0bd76dbd1..82bc53c1f 100644
--- a/Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBComparer.cs
+++ b/Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBComparer.cs
@@ -40,7 +40,7 @@ namespace Tango.Synchronization.Remote
LogManager.Log("Querying all local configurations...");
var local_configurations = _localDB.CONFIGURATIONS.ToList();
LogManager.Log("Querying all local configuration dispensers...");
- var local_configurations_dispensers = _localDB.CONFIGURATIONS_DISPENSERS.ToList();
+ var local_configurations_dispensers = _localDB.IDS_PACKS.ToList();
LogManager.Log("Querying all local contacts...");
var local_contacts = _localDB.CONTACTS.ToList();
LogManager.Log("Querying all local dispensers...");
@@ -102,7 +102,7 @@ namespace Tango.Synchronization.Remote
LogManager.Log("Querying all remote configurations dispensers...");
guids = remote_configurations.Select(x => x.GUID).ToList();
- var remote_configurations_dispensers = _remoteDB.CONFIGURATIONS_DISPENSERS.Where(x => guids.Contains(x.CONFIGURATION_GUID)).ToList();
+ var remote_configurations_dispensers = _remoteDB.IDS_PACKS.Where(x => guids.Contains(x.CONFIGURATION_GUID)).ToList();
LogManager.Log("Querying all remote dispensers...");
guids = remote_configurations_dispensers.Select(x => x.DISPENSER_GUID).ToList();
@@ -113,7 +113,7 @@ namespace Tango.Synchronization.Remote
var remote_cartridges = _remoteDB.CARTRIDGES.Where(x => guids.Contains(x.GUID)).ToList();
- foreach (var config in _remoteDB.SYNC_CONFIGURATION.Where(x => (SyncConfiguration)x.SYNC_TYPE == SyncConfiguration.OverwriteLocal))
+ foreach (var config in _remoteDB.SYNC_CONFIGURATIONS.Where(x => (SyncConfiguration)x.SYNC_TYPE == SyncConfiguration.OverwriteLocal))
{
OverrideTable(config);
}
@@ -129,7 +129,7 @@ namespace Tango.Synchronization.Remote
CompareCollections(remote_configurations, local_configurations, _remoteDB.CONFIGURATIONS, _localDB.CONFIGURATIONS);
LogManager.Log("Comparing configurations dispensers");
- CompareCollections(remote_configurations_dispensers, local_configurations_dispensers, _remoteDB.CONFIGURATIONS_DISPENSERS, _localDB.CONFIGURATIONS_DISPENSERS);
+ CompareCollections(remote_configurations_dispensers, local_configurations_dispensers, _remoteDB.IDS_PACKS, _localDB.IDS_PACKS);
LogManager.Log("Comparing contacts");
CompareCollections(remote_contacts, local_contacts, _remoteDB.CONTACTS, _localDB.CONTACTS);
@@ -211,7 +211,7 @@ namespace Tango.Synchronization.Remote
}
}
- private void OverrideTable(remote.SYNC_CONFIGURATION config)
+ private void OverrideTable(remote.SYNC_CONFIGURATIONS config)
{
LogManager.Log("Generating table override difference for " + config.TABLE_NAME + "...");