public static ClientTasksDao CreateTaskService() { ClearContentOfTables(); ITasksDao tasks = ContextRegistry.GetContext().GetObject<ITasksDao>("TasksFactory"); ClientTasksDao result = new ClientTasksDao(tasks); result.FlushAllCaches(); return result; }
private static ClientTasksDao GetClientTasksDao() { ClearContentOfTables(); ITasksDao tasks = ContextRegistry.GetContext().GetObject <ITasksDao>("TasksFactory"); ClientTasksDao result = new ClientTasksDao(tasks); result.FlushAllCaches(); return(result); }
public void Initialize() { Svc = GetClientTasksDao(); }
public void RetirementPlanTestInitialize() { Svc = RemoteTestHelper.CreateTaskService(); }