Beispiel #1
0
        public void Load(int deptID, int projID)
        {
            CDbProjectBudget dbDt = new CDbProjectBudget();
            string           tmpDat;

            tmpDat = dbDt.GetByDeptProj(deptID, projID);

            Clear();
            if (tmpDat.Length > 0)
            {
                LoadVals(tmpDat);
            }

            dbDt = null;
        }
Beispiel #2
0
        public void Load(int iID)
        {
            CDbProjectBudget dbDt = new CDbProjectBudget();
            string           tmpDat;

            tmpDat = dbDt.GetByID(iID);

            Clear();
            if (tmpDat.Length > 0)
            {
                LoadVals(tmpDat);
            }

            dbDt = null;
        }
Beispiel #3
0
        public int Save()
        {
            CDbProjectBudget dbDt = new CDbProjectBudget();
            string           tmpDat;
            int retVal;

            tmpDat = GetDataString();

            if (base.ID > 0)
            {
                dbDt.SavePrev(tmpDat);
                retVal = base.ID;
            }
            else
            {
                retVal  = dbDt.SaveNew(tmpDat);
                base.ID = retVal;
            }

            dbDt = null;

            return(retVal);
        }
Beispiel #4
0
        public static void Delete(int cID)
        {
            CDbProjectBudget dbDt = new CDbProjectBudget();

            dbDt.Delete(cID);
        }
Beispiel #5
0
        public static DataSet GetExistingVisionPlan(string number)
        {
            CDbProjectBudget dbDt = new CDbProjectBudget();

            return(dbDt.GetExistingVisionPlan(number));
        }
Beispiel #6
0
        public static DataSet GetExistingVisionExport()
        {
            CDbProjectBudget dbDt = new CDbProjectBudget();

            return(dbDt.GetExistingVisionExport());
        }
Beispiel #7
0
        public static SqlDataReader GetExpenseGroupByDiscipline(int discipline)
        {
            CDbProjectBudget dbDt = new CDbProjectBudget();

            return(dbDt.GetExpenseGroupByDiscipline(discipline));
        }
Beispiel #8
0
        public static SqlDataReader GetAccountGroupByDiscipline(int discipline, bool isGovernment)
        {
            CDbProjectBudget dbDt = new CDbProjectBudget();

            return(dbDt.GetAccountGroupByDisciplineForGovernment(discipline));
        }
Beispiel #9
0
        public static DataSet GetSchByProject(int projSumID, int projID)
        {
            CDbProjectBudget dbDt = new CDbProjectBudget();

            return(dbDt.GetSchByProject(projSumID, projID));
        }
Beispiel #10
0
        public static DataSet GetCostReport_ForPM(string project, int rprtCase, bool isRollup) //Added 2/6/2015
        {
            CDbProjectBudget dbDt = new CDbProjectBudget();

            return(dbDt.GetCostReport_ForPM(project, rprtCase, isRollup));
        }
Beispiel #11
0
        public static DataSet GetCostReport(string project, int rprtCase, bool isRollup)
        {
            CDbProjectBudget dbDt = new CDbProjectBudget();

            return(dbDt.GetCostReport(project, rprtCase, isRollup));
        }
Beispiel #12
0
        public static DataSet GetListDSByProjID(int projID)
        {
            CDbProjectBudget dbDt = new CDbProjectBudget();

            return(dbDt.GetListDSByProjID(projID));
        }
Beispiel #13
0
        public static SqlDataReader GetListByProjID(int projID)
        {
            CDbProjectBudget dbDt = new CDbProjectBudget();

            return(dbDt.GetListByProjID(projID));
        }
Beispiel #14
0
        public static SqlDataReader GetList()
        {
            CDbProjectBudget dbDt = new CDbProjectBudget();

            return(dbDt.GetList());
        }