blob: b3b92b6ab40595f64db9dd32a706b56fb7cb0508 (
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
|
using System;
using System.Collections.Generic;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Threading.Tasks;
using System.Windows;
using Tango.DAL.Observables;
namespace Tango.MachineStudio.UI
{
/// <summary>
/// Interaction logic for App.xaml
/// </summary>
public partial class App : Application
{
public static ObservablesEntitiesAdapter DbAdapter { get; set; }
protected override void OnStartup(StartupEventArgs e)
{
base.OnStartup(e);
DbAdapter = ObservablesEntitiesAdapter.Instance;
}
}
}
|