コード例 #1
0
        // ////////////////////////////////////////////////////////////////////////
        // PUBLIC METHODS
        //
        /// <summary>
        /// LoadByProjectIdAndUpdateDate
        /// </summary>
        /// <param name="sectionId">sectionId</param>
        /// <param name="_date">_date</param>
        /// <param name="companyId">companyId</param>
        public void LoadByProjectIdAndUpdateDate(int projectId, DateTime _date, int companyId)
        {
            TeamProjectTime2SectionMHGateway teamProjectTime2SectionMHGateway = new TeamProjectTime2SectionMHGateway(Data);
            teamProjectTime2SectionMHGateway.LoadByProjectId(projectId, companyId);

            UpdateData(_date);
        }
コード例 #2
0
        /// <summary>
        /// Load
        /// </summary>
        /// <param name="sectionId">sectionId</param>
        /// <param name="_date">_date</param>
        /// <param name="companyId">companyId</param>
        public void Load(string sectionId, DateTime _date, int companyId)
        {
            TeamProjectTime2SectionMHGateway teamProjectTime2SectionMHGateway = new TeamProjectTime2SectionMHGateway(Data);
            teamProjectTime2SectionMHGateway.LoadBySectionId(sectionId, companyId);

            UpdateData(_date);
        }