diff options
Diffstat (limited to 'Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBSynchronizer.cs')
| -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 2cd9e2d41..ae39e118b 100644 --- a/Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBSynchronizer.cs +++ b/Software/Visual_Studio/Tango.Synchronization/Remote/RemoteDBSynchronizer.cs @@ -5,6 +5,7 @@ using System.Text; using System.Threading.Tasks; using remote = Tango.DAL.Remote.DB; using local = Tango.DAL.Local.DB; +using Tango.Settings; namespace Tango.Synchronization.Remote { @@ -12,7 +13,7 @@ namespace Tango.Synchronization.Remote { public static void Synchronize(String sqliteDbFile, String serialNumber) { - using (var remoteDB = new remote.RemoteDB("LOCALHOST\\SQLEXPRESS", false)) + using (var remoteDB = new remote.RemoteDB(SettingsManager.Default.DataBase.SQLServerAddress, false)) { using (var localDB = new local.LocalDB(sqliteDbFile)) { |
