aboutsummaryrefslogtreecommitdiffstats
path: root/Software/Visual_Studio/MachineStudio/Modules/Tango.MachineStudio.Technician/TechnicianDbContext.cs
blob: a0314ab6b4970aeb07734094e50d4109ba362753 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Tango.Integration.Observables;

namespace Tango.MachineStudio.Technician
{
    public class TechnicianDbContext
    {
        private static ObservablesContext _context;

        public static ObservablesContext Context
        {
            get
            {
                if (_context == null)
                {
                    _context = ObservablesContext.CreateDefault();
                }

                return _context;
            }
            private set { _context = value; }
        }
    }
}