diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-31 12:07:40 +0300 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2018-05-31 12:07:40 +0300 |
| commit | f03676747c3c4207da0be4e59273cbbca9b79649 (patch) | |
| tree | 5fe054dea1c4135416ecdfc252ae2f867633bec6 /Software/Visual_Studio/Tango.UnitTesting/DAL_TST.cs | |
| parent | 040118073dc67e9daf9792863786f87705f3fff6 (diff) | |
| download | Tango-f03676747c3c4207da0be4e59273cbbca9b79649.tar.gz Tango-f03676747c3c4207da0be4e59273cbbca9b79649.zip | |
Implemented PPC data base source from %appdata% on PPC.
Diffstat (limited to 'Software/Visual_Studio/Tango.UnitTesting/DAL_TST.cs')
| -rw-r--r-- | Software/Visual_Studio/Tango.UnitTesting/DAL_TST.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Software/Visual_Studio/Tango.UnitTesting/DAL_TST.cs b/Software/Visual_Studio/Tango.UnitTesting/DAL_TST.cs index f6ceb7789..305849694 100644 --- a/Software/Visual_Studio/Tango.UnitTesting/DAL_TST.cs +++ b/Software/Visual_Studio/Tango.UnitTesting/DAL_TST.cs @@ -17,7 +17,7 @@ namespace Tango.UnitTesting { String guid = Guid.NewGuid().ToString(); - using (var db = new DAL.Remote.DB.RemoteDB(SettingsManager.Default.GetOrCreate<CoreSettings>().SQLServerAddress, false)) + using (var db = new DAL.Remote.DB.RemoteDB(SettingsManager.Default.GetOrCreate<CoreSettings>().DataBaseSource, false)) { var action = new DAL.Remote.DB.ACTION_TYPES(); action.CODE = 1; @@ -30,7 +30,7 @@ namespace Tango.UnitTesting db.SaveChanges(); } - using (var db = new DAL.Remote.DB.RemoteDB(SettingsManager.Default.GetOrCreate<CoreSettings>().SQLServerAddress, false)) + using (var db = new DAL.Remote.DB.RemoteDB(SettingsManager.Default.GetOrCreate<CoreSettings>().DataBaseSource, false)) { var action = db.ACTION_TYPES.Single(x => x.GUID == guid); db.ACTION_TYPES.Remove(action); |
