public void Load(int iID) { CDbBudgetLine dbDt = new CDbBudgetLine(); string tmpDat; tmpDat = dbDt.GetByID(iID); Clear(); if (tmpDat.Length > 0) { LoadVals(tmpDat); } dbDt = null; }
public int Save() { CDbBudgetLine dbDt = new CDbBudgetLine(); 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) { CDbBudgetLine dbDt = new CDbBudgetLine(); dbDt.Delete(cID); }
public static SqlDataReader GetWBSListByBudget(int budID) { CDbBudgetLine dbDt = new CDbBudgetLine(); return(dbDt.GetWBSListByBudget(budID)); }
public static SqlDataReader GetExportList_Expense_ByPCNID(int PCNID) //*********************Added 6/3/15 { CDbBudgetLine dbDt = new CDbBudgetLine(); return(dbDt.GetExportList_Expense_PCN(PCNID)); }
public static string GetDescriptionByCode(int code) { CDbBudgetLine dbDt = new CDbBudgetLine(); return(dbDt.GetDescriptionByCode(code)); }
public static void CopyBudgetLines(int originalID, int newBudID) { CDbBudgetLine dbDt = new CDbBudgetLine(); dbDt.CopyBudgetLines(originalID, newBudID); }
public static SqlDataReader GetListByBudgetWithWBS(int budID, int groupID, string wbsCode) { CDbBudgetLine dbDt = new CDbBudgetLine(); return(dbDt.GetListByBudgetWithWBS(budID, groupID, wbsCode)); }
public static void AddMissingLines(int budID, int groupID, string wbsCode) { CDbBudgetLine dbDt = new CDbBudgetLine(); dbDt.AddMissingLines(budID, groupID, wbsCode); }
public static SqlDataReader GetList() { CDbBudgetLine dbDt = new CDbBudgetLine(); return(dbDt.GetList()); }