diff options
| author | Roy Ben-Shabat <Roy@Twine-s.com> | 2017-12-13 13:45:13 +0200 |
|---|---|---|
| committer | Roy Ben-Shabat <Roy@Twine-s.com> | 2017-12-13 13:45:13 +0200 |
| commit | 2c376ac3ae651dd6c6592cc4cbf72768dc97a93d (patch) | |
| tree | b1f4a2210ab94e023ea122330fd97e830ebdb9c7 /Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs | |
| parent | 5babd8f257e9e6623ef1b0f1b17bc30619cc62bd (diff) | |
| download | Tango-2c376ac3ae651dd6c6592cc4cbf72768dc97a93d.tar.gz Tango-2c376ac3ae651dd6c6592cc4cbf72768dc97a93d.zip | |
Moved Machine Studio to its own folder.
Diffstat (limited to 'Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs')
| -rw-r--r-- | Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs new file mode 100644 index 000000000..b3b92b6ab --- /dev/null +++ b/Software/Visual_Studio/MachineStudio/Tango.MachineStudio.UI/App.xaml.cs @@ -0,0 +1,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; + } + } +} |
