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; }
public void Load(int iID) { CDbProjectBudget dbDt = new CDbProjectBudget(); string tmpDat; tmpDat = dbDt.GetByID(iID); Clear(); if (tmpDat.Length > 0) { LoadVals(tmpDat); } dbDt = null; }
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); }
public static void Delete(int cID) { CDbProjectBudget dbDt = new CDbProjectBudget(); dbDt.Delete(cID); }
public static DataSet GetExistingVisionPlan(string number) { CDbProjectBudget dbDt = new CDbProjectBudget(); return(dbDt.GetExistingVisionPlan(number)); }
public static DataSet GetExistingVisionExport() { CDbProjectBudget dbDt = new CDbProjectBudget(); return(dbDt.GetExistingVisionExport()); }
public static SqlDataReader GetExpenseGroupByDiscipline(int discipline) { CDbProjectBudget dbDt = new CDbProjectBudget(); return(dbDt.GetExpenseGroupByDiscipline(discipline)); }
public static SqlDataReader GetAccountGroupByDiscipline(int discipline, bool isGovernment) { CDbProjectBudget dbDt = new CDbProjectBudget(); return(dbDt.GetAccountGroupByDisciplineForGovernment(discipline)); }
public static DataSet GetSchByProject(int projSumID, int projID) { CDbProjectBudget dbDt = new CDbProjectBudget(); return(dbDt.GetSchByProject(projSumID, projID)); }
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)); }
public static DataSet GetCostReport(string project, int rprtCase, bool isRollup) { CDbProjectBudget dbDt = new CDbProjectBudget(); return(dbDt.GetCostReport(project, rprtCase, isRollup)); }
public static DataSet GetListDSByProjID(int projID) { CDbProjectBudget dbDt = new CDbProjectBudget(); return(dbDt.GetListDSByProjID(projID)); }
public static SqlDataReader GetListByProjID(int projID) { CDbProjectBudget dbDt = new CDbProjectBudget(); return(dbDt.GetListByProjID(projID)); }
public static SqlDataReader GetList() { CDbProjectBudget dbDt = new CDbProjectBudget(); return(dbDt.GetList()); }