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
pre { line-height: 125%; }
td.linenos .normal { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
span.linenos { color: inherit; background-color: transparent; padding-left: 5px; padding-right: 5px; }
td.linenos .special { color: 
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; }
        }
    }
}