aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/Utilities/Tango.MachineDesigner.UI/DBAdapter.cs
blob: e628db85099e65f9e0f3cfe5f4d88ff68f7db4c5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.DAL.Remote.DB;
using Tango.Settings;

namespace Tango.MachineDesigner.UI
{
    public class DBAdapter
    {
        public static RemoteDB DbContext { get; set; }

        public static void Initialize()
        {
            DbContext = new RemoteDB(SettingsManager.Default.DataBase.SQLServerAddress, false);
        }
    }
}