Example #1
0
        /// <summary>
        /// LoadForViewsProjectIdCompanyIdWorkType
        /// </summary>
        /// <param name="sqlCommand">sqlCommand</param>
        /// <param name="projectId">projectId</param>
        /// <param name="companyId">companyId</param>
        /// <param name="workType">workType</param>
        public void LoadForViewsProjectIdCompanyIdWorkType(string sqlCommand, int projectId, int companyId, string workType)
        {
            JlNavigatorGateway jlNavigatorGateway = new JlNavigatorGateway(Data);
            jlNavigatorGateway.LoadForViewsProjectIdCompanyIdWorkType(sqlCommand, projectId, companyId, workType);

            UpdateFieldsForSections(projectId, companyId);
        }
Example #2
0
        // ////////////////////////////////////////////////////////////////////////
        // PUBLIC METHODS
        //
        /// <summary>
        /// Load
        /// </summary>
        /// <param name="whereClause">whereClause</param>
        /// <param name="orderByClause">orderByClause</param>
        /// <param name="conditionValue">conditionValue</param>
        /// <param name="textForSearch">textForSearch</param>
        /// <param name="conditionValue2">conditionValue2</param>
        /// <param name="textForSearch2">textForSearch2</param>
        /// <param name="projectId">COMPANY_ID</param>
        /// <param name="currentProjectId">projectId</param>
        /// <param name="workType">workType</param>
        public void Load(string whereClause, string orderByClause, string conditionValue, string textForSearch, string conditionValue2, string textForSearch2, int companyId, int projectId, string workType)
        {
            JlNavigatorGateway jlNavigatorGateway = new JlNavigatorGateway(Data);
            jlNavigatorGateway.LoadWhereOrderBy(whereClause, orderByClause, conditionValue, textForSearch, conditionValue2, textForSearch2);

            UpdateFieldsForSections(projectId, companyId);
        }