void Run()
        {
            // MSAccess
            _dataSourcePath = @"C:\Users\Sören\Downloads\drive-download-20190707T124853Z-001\CarDatabase.accdb";

            // SQLite
            //_dataSourcePath   = @"C:\0Daten\CarDatabase.db";

            try
            {
                // CarData Layer
                _dataRead = SFactoryIDataRead.CreateInstance(EDataType.Access, _dataSourcePath);
                _dataRead.InitDb();
                _dataWrite = SFactoryIDataWrite.CreateInstance(EDataType.Access, _dataSourcePath);
                _dataWrite.InitDb();

                // CarLogic Layer
                _logicQueries  = SFactoryILogicQueries.CreateInstance(_dataRead);
                _logicCommands = SFactoryILogicCommands.CreateInstance(_dataWrite);

                // CarPresentation Layer
                _dialog = SFactoryIDialog.CreateInstance(_logicQueries, _logicCommands);

                // Start the App
                _app = new Application();
                _app.Run(_dialog as Window);
            }
            catch (ApplicationException e)
            {
                MessageBox.Show(e.Message, "Fehler in der Anwendung", MessageBoxButton.OK, MessageBoxImage.Stop);
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message, "Fehler in der Anwendung", MessageBoxButton.OK, MessageBoxImage.Stop);
            }
            finally
            {
                if (_dataRead != null)
                {
                    _dataRead.CloseDb();
                }
                if (_dataWrite != null)
                {
                    _dataWrite.CloseDb();
                }
            }
        }
        void Run()
        {
            // MSAccess
            _dataSourcePath = @"seasky.accdb";

            // SQLite
            //_dataSourcePath   = @"C:\0Daten\CarDatabase.db";

            try
            {
                // FlightData Layer
                _FdataRead = SFDB_ReadF.CreateInstance(_dataSourcePath);
                _FdataRead.InitDb();
                _FdataWrite = SFDB_WriteF.CreateInstance(_dataSourcePath);
                _FdataWrite.InitDb();
                // ShipInfoData Layer
                _SdataRead = SFDB_ReadS.CreateInstance(_dataSourcePath);
                _SdataRead.InitDb();
                _SdataWrite = SFDB_WriteS.CreateInstance(_dataSourcePath);
                _SdataWrite.InitDb();

                // FlightLogic Layer
                _FlogicQueries  = FFactoryQueries.CreateInstance(_FdataRead);
                _FlogicCommands = FFactoryILogicCmds.CreateInstance(_FdataWrite);
                // FlightLogic Layer
                _SlogicQueries  = SFactoryISLogicQueries.CreateInstance(_SdataRead);
                _SlogicCommands = SFactoryISLogicCommands.CreateInstance(_SdataWrite);


                // CarPresentation Layer
                _dialog = SFactoryIDialog.CreateInstance(_FlogicQueries, _FlogicCommands, _SlogicQueries, _SlogicCommands);

                // Start the App
                _app = new Application();
                _app.Run(_dialog as Window);
            }
            catch (ApplicationException e)
            {
                MessageBox.Show(e.Message, "Fehler in der Anwendung 1", MessageBoxButton.OK, MessageBoxImage.Stop);
            }
            catch (Exception e)
            {
                MessageBox.Show(e.Message, "Fehler in der Anwendung 2", MessageBoxButton.OK, MessageBoxImage.Stop);
            }
            finally
            {
                if (_FdataRead != null)
                {
                    _FdataRead.CloseDb();
                }
                if (_FdataWrite != null)
                {
                    _FdataWrite.CloseDb();
                }
                if (_SdataRead != null)
                {
                    _SdataRead.CloseDb();
                }
                if (_SdataWrite != null)
                {
                    _SdataWrite.CloseDb();
                }
            }
        }