diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.Synchronization')
| -rw-r--r-- | Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBSynchronizer.cs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBSynchronizer.cs b/Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBSynchronizer.cs index 75d28af5b..09f7fe619 100644 --- a/Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBSynchronizer.cs +++ b/Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBSynchronizer.cs @@ -7,6 +7,7 @@ using remote = Tango.DAL.Remote.DB; using local = Tango.DAL.Local.DB; using Tango.Settings; using Tango.Synchronization.Local; +using Tango.Core; namespace Tango.Synchronization.Remote { @@ -31,7 +32,7 @@ namespace Tango.Synchronization.Remote sqlite.ClearDataBase(); } - using (var remoteDB = new remote.RemoteDB(SettingsManager.Default.DataBase.SQLServerAddress, false)) + using (var remoteDB = new remote.RemoteDB(SettingsManager.Default.GetOrCreate<CoreSettings>().SQLServerAddress, false)) { using (var localDB = new local.LocalDB(sqliteDbFile)) { |
