예제 #1
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="projectPlan"></param>
        /// <returns></returns>
        public static int UpdateRecond(ProjectPlan projectPlan)
        {
            int count = 0;

            count = new DAL.ProjectPlan().UpdateRecond(projectPlan.ProjectPlanId, projectPlan.progress, projectPlan.RecordingDate, projectPlan.RecordingPlace, projectPlan.RecordingScriptHolder, projectPlan.RecordingLecture, projectPlan.RecordingFile, projectPlan.FileDeliverDate, projectPlan.RecordingNote);
            return(count);
        }
예제 #2
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="projectPlan"></param>
        /// <returns></returns>
        public static int Update(ProjectPlan projectPlan)
        {
            int count = 0;

            count = new DAL.ProjectPlan().Update(projectPlan.ProjectPlanId, projectPlan.ProjectPlanNo, projectPlan.Title, projectPlan.ProjectPlanTypeId, projectPlan.PlanDate, projectPlan.Category, projectPlan.CourseCount, projectPlan.Price, projectPlan.Source, projectPlan.Note, projectPlan.Lecturer, projectPlan.ExtraNote, projectPlan.RecordingPersonInCharge);
            return(count);
        }
예제 #3
0
        public static int UpdateFinish(ProjectPlan projectPlan)
        {
            int count = 0;

            count = new DAL.ProjectPlan().Update(projectPlan.ProjectPlanId, projectPlan.progress);
            return(count);
        }
예제 #4
0
        /// <summary>
        ///
        /// </summary>
        /// <param name="projectPlanId"></param>
        /// <returns></returns>
        public static ProjectPlan GetProjectPlan(Guid projectPlanId)
        {
            DataTable   table = new DAL.ProjectPlan().Select(projectPlanId);
            ProjectPlan value = new ProjectPlan();

            foreach (DataRow row in table.Rows)
            {
                Adapt.Convert.ConvertDataRowToObject(row, value);
            }
            return(value);
        }