aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.DAL.Remote/Partials
diff options
context:
space:
mode:
authorRoy Ben-Shabat <Roy@Twine-s.com>2018-08-22 14:21:23 +0300
committerRoy Ben-Shabat <Roy@Twine-s.com>2018-08-22 14:21:23 +0300
commit10692d6af49f30f6a4eb5054945a6368dd181022 (patch)
tree9c68c1ba303aeed3be03f18ed01f72563bed644a /Software/Visual_Studio/Tango.DAL.Remote/Partials
parent24149160c17fabe143f143de2796f9485d64410b (diff)
downloadTango-10692d6af49f30f6a4eb5054945a6368dd181022.tar.gz
Tango-10692d6af49f30f6a4eb5054945a6368dd181022.zip
Refactored Machine Versions Module !!!!
Embedded sqlexaminer.msi to repo. Implemented precompiled views ? Fixed an issue with RemoteDB DAL. Added Active field to hardware components.
Diffstat (limited to 'Software/Visual_Studio/Tango.DAL.Remote/Partials')
-rw-r--r--Software/Visual_Studio/Tango.DAL.Remote/Partials/RemoteDB.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Software/Visual_Studio/Tango.DAL.Remote/Partials/RemoteDB.cs b/Software/Visual_Studio/Tango.DAL.Remote/Partials/RemoteDB.cs
index 5905a0f7e..a29857262 100644
--- a/Software/Visual_Studio/Tango.DAL.Remote/Partials/RemoteDB.cs
+++ b/Software/Visual_Studio/Tango.DAL.Remote/Partials/RemoteDB.cs
@@ -20,7 +20,7 @@ namespace Tango.DAL.Remote.DB
/// </summary>
/// <param name="path">The server file path.</param>
/// <param name="isFile">if set to <c>true</c> will try to connect to an .mdf file.</param>
- public RemoteDB(DataSource dataSource) : base(dataSource.ToConnection(), true)
+ public RemoteDB(DataSource dataSource) : base(String.Format("metadata=res://*/DB.RemoteADO.csdl|res://*/DB.RemoteADO.ssdl|res://*/DB.RemoteADO.msl;provider=System.Data.SqlClient;provider connection string=\"{0}\"", dataSource.ToConnection().ConnectionString))
{
}