public static ClientTasksDao CreateTaskService()
        {
            ClearContentOfTables();

            ITasksDao tasks = ContextRegistry.GetContext().GetObject<ITasksDao>("TasksFactory");
            ClientTasksDao result = new ClientTasksDao(tasks);

            result.FlushAllCaches();
            return result;
        }
Esempio n. 2
0
        private static ClientTasksDao GetClientTasksDao()
        {
            ClearContentOfTables();

            ITasksDao      tasks  = ContextRegistry.GetContext().GetObject <ITasksDao>("TasksFactory");
            ClientTasksDao result = new ClientTasksDao(tasks);

            result.FlushAllCaches();
            return(result);
        }
Esempio n. 3
0
 public void Initialize()
 {
     Svc = GetClientTasksDao();
 }
 public void Initialize()
 {
     Svc = GetClientTasksDao();
 }
 public void RetirementPlanTestInitialize()
 {
     Svc = RemoteTestHelper.CreateTaskService();
 }
 public void RetirementPlanTestInitialize()
 {
     Svc = RemoteTestHelper.CreateTaskService();
 }