public static OvertimeSettingRepository CreateOvertimeSettingRepo()
        {
            var dc = ConnectionFactory.GetPortalDC();

            return(new OvertimeSettingRepository(dc));
        }
        public static MemberRepository CreateMemberRepo()
        {
            var dc = ConnectionFactory.GetPortalDC();

            return(new MemberRepository(dc, CreateRootRepo()));
        }
        //Manage Repo
        // Specify Repo
        public static MealTaxiRepository CreateMealTaxiRepo()
        {
            var dc = ConnectionFactory.GetPortalDC();

            return(new MealTaxiRepository(dc));
        }
        public static SalaryLimitRepository CreateSalaryLimitRepo()
        {
            var dc = ConnectionFactory.GetPortalDC();

            return(new SalaryLimitRepository(dc, CreateRootRepo()));
        }
        public static RinnaiPortalRepository CreateRinnaiPortalRepo()
        {
            var dc = ConnectionFactory.GetPortalDC();

            return(new RinnaiPortalRepository(dc));
        }
        //20161209 新增(主管簽核歷程查詢用)
        public static ProcessSignedRepository CreateSignQueryRepo()
        {
            var dc = ConnectionFactory.GetPortalDC();

            return(new ProcessSignedRepository(dc, CreateRootRepo()));
        }
        public static WorkflowQueryRepository CreateWorkflowQueryRepo()
        {
            var dc = ConnectionFactory.GetPortalDC();

            return(new WorkflowQueryRepository(dc));
        }
        public static ProcessWorkflowRepository CreateProcessWorkflowRepo()
        {
            var dc = ConnectionFactory.GetPortalDC();

            return(new ProcessWorkflowRepository(dc, CreateRootRepo()));
        }
        public static WorkflowDetailRepository CreateWorkflowDetailRepo()
        {
            var dc = ConnectionFactory.GetPortalDC();

            return(new WorkflowDetailRepository(dc, CreateRootRepo()));
        }
        public static ProcedureRepository CreateProcedureRepo()
        {
            var dc = ConnectionFactory.GetPortalDC();

            return(new ProcedureRepository(dc));
        }
        public static GroupRepository CreateGroupRepo()
        {
            var dc = ConnectionFactory.GetPortalDC();

            return(new GroupRepository(dc, CreateRootRepo()));
        }
        public static EmployeeRepository CreateEmployeeRepo()
        {
            var dc = ConnectionFactory.GetPortalDC();

            return(new EmployeeRepository(dc, CreateRootRepo()));
        }
        public static BbsListRepository CreateBbsListRepo()
        {
            var dc = ConnectionFactory.GetPortalDC();

            return(new BbsListRepository(dc, CreateRootRepo()));
        }
        public static DepartmentRepository CreateDepartmentRepo()
        {
            var dc = ConnectionFactory.GetPortalDC();

            return(new DepartmentRepository(dc, CreateRootRepo()));
        }