diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2017-12-04 14:15:48 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2017-12-04 14:15:48 +0200 |
| commit | a635302e9ae4a8ced135620e355697ccf2a27b52 (patch) | |
| tree | 47b0cdebe8958833f45822970117160ce6c9d237 /Software/Visual_Studio/Tango.Synchronization/Remote | |
| parent | c47075cc333329fc6bc93679d847cadcb050436f (diff) | |
| download | Tango-a635302e9ae4a8ced135620e355697ccf2a27b52.tar.gz Tango-a635302e9ae4a8ced135620e355697ccf2a27b52.zip | |
Added Tango.Serialization.
Added Tango.Settings.
Diffstat (limited to 'Software/Visual_Studio/Tango.Synchronization/Remote')
| -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)) { |
