aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Tango.DAL.Remote/Partials/RemoteDB.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Software/Visual_Studio/Tango.DAL.Remote/Partials/RemoteDB.cs')
-rw-r--r--Software/Visual_Studio/Tango.DAL.Remote/Partials/RemoteDB.cs6
1 files changed, 5 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 6fdd35983..f6fcbcf3f 100644
--- a/Software/Visual_Studio/Tango.DAL.Remote/Partials/RemoteDB.cs
+++ b/Software/Visual_Studio/Tango.DAL.Remote/Partials/RemoteDB.cs
@@ -4,6 +4,7 @@ using System.Data.Entity;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
+using Tango.Settings;
namespace Tango.DAL.Remote.DB
{
@@ -26,6 +27,9 @@ namespace Tango.DAL.Remote.DB
}
}
-
+ public static RemoteDB CreateDefault()
+ {
+ return new RemoteDB(SettingsManager.Default.DataBase.SQLServerAddress, false);
+ }
}
}