aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-05-31 12:07:40 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-05-31 12:07:40 +0300
commitf03676747c3c4207da0be4e59273cbbca9b79649 (patch)
tree5fe054dea1c4135416ecdfc252ae2f867633bec6 /Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI
parent040118073dc67e9daf9792863786f87705f3fff6 (diff)
downloadTango-f03676747c3c4207da0be4e59273cbbca9b79649.tar.gz
Tango-f03676747c3c4207da0be4e59273cbbca9b79649.zip
Implemented PPC data base source from %appdata% on PPC.
Diffstat (limited to 'Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI')
-rw-r--r--Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI/ObservablesGenerator.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI/ObservablesGenerator.cs b/Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI/ObservablesGenerator.cs
index fbe3af2e5..3ba0bd082 100644
--- a/Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI/ObservablesGenerator.cs
+++ b/Software/Visual_Studio/Utilities/Tango.DBObservablesGenerator.CLI/ObservablesGenerator.cs
@@ -100,7 +100,7 @@ namespace Tango.DBObservablesGenerator.CLI
//Generate Entities...
//Generate Enumerations...
- using (RemoteDB db = new RemoteDB(SettingsManager.Default.GetOrCreate<CoreSettings>().SQLServerAddress, false))
+ using (RemoteDB db = new RemoteDB(SettingsManager.Default.GetOrCreate<CoreSettings>().DataBaseSource, false))
{
foreach (var tableProp in db.GetType().GetProperties(BindingFlags.Public | BindingFlags.Instance).Where(x => x.PropertyType.IsGenericType))
{
@@ -267,7 +267,7 @@ namespace Tango.DBObservablesGenerator.CLI
//Generate Entities...
//Generate Enumerations...
- using (RemoteDB db = new RemoteDB(SettingsManager.Default.GetOrCreate<CoreSettings>().SQLServerAddress, false))
+ using (RemoteDB db = new RemoteDB(SettingsManager.Default.GetOrCreate<CoreSettings>().DataBaseSource, false))
{
foreach (var tableProp in db.GetType().GetProperties(BindingFlags.Public | BindingFlags.Instance).Where(x => x.PropertyType.IsGenericType))
{