public static void RunDbDependAppStartServices()
        {
            //
            // Put yours DB depens code here
            //

            //Load modules
            AttachedModules.LoadModules();

            // TaskManager
            TaskManager.TaskManagerInstance().Init();
            TaskManager.TaskManagerInstance().Start();
            TaskManager.TaskManagerInstance().ManagedTask(TaskSettings.Settings);

            // LogSessionRestart
            InternalServices.LogApplicationRestart(false, false);

            // RefreshCurrency
            CurrencyService.RefreshCurrency();
        }
Beispiel #2
0
 public static void LoadModules()
 {
     AttachedModules.LoadModules();
 }