aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Program.cs
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-08-21 10:50:41 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-08-21 10:50:41 +0300
commitb4a1c833f0e67835e89961e77329efe5bf2a7797 (patch)
tree94354be095256a33d6d2ee285c183686e5e85c39 /Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Program.cs
parent51afc4f6a17383e91a72c2ce060e82604d43c3a8 (diff)
downloadTango-b4a1c833f0e67835e89961e77329efe5bf2a7797.tar.gz
Tango-b4a1c833f0e67835e89961e77329efe5bf2a7797.zip
Refactored ObservablesContext to use DataSource object!
Upgraded to .NET 4.7.2 !!!
Diffstat (limited to 'Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Program.cs')
-rw-r--r--Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Program.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Program.cs b/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Program.cs
index b254833a6..b971621ab 100644
--- a/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Program.cs
+++ b/Software/Visual_Studio/Utilities/Tango.SQLiteGenerator.CLI/Program.cs
@@ -41,7 +41,7 @@ namespace Tango.SQLiteGenerator.CLI
bool completed = false;
- String connectionString = SettingsManager.Default.GetOrCreate<CoreSettings>().DataBaseSource;
+ String connectionString = SettingsManager.Default.GetOrCreate<CoreSettings>().DataSource.ToConnection().ConnectionString;
Console.WriteLine("Connecting to " + connectionString + "...");
@@ -49,7 +49,7 @@ namespace Tango.SQLiteGenerator.CLI
List<SYNC_CONFIGURATIONS> sync_configurations = new List<SYNC_CONFIGURATIONS>();
- using (RemoteDB db = RemoteDB.CreateDefault())
+ using (RemoteDB db = new RemoteDB(SettingsManager.Default.GetOrCreate<CoreSettings>().DataSource))
{
sync_configurations = db.SYNC_CONFIGURATIONS.ToList();
}