public void Load(int iID) { CDbEmployee dbDt = new CDbEmployee(); string tmpDat; tmpDat = dbDt.GetByID(iID); Clear(); if (tmpDat.Length > 0) { LoadVals(tmpDat); } dbDt = null; }
public int Save() { CDbEmployee dbDt = new CDbEmployee(); 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) { CDbEmployee dbDt = new CDbEmployee(); dbDt.Delete(cID); }
public static DataSet GetListForComboByDept(int deptID) { CDbEmployee dbDt = new CDbEmployee(); return(dbDt.GetListByDeptForCombo(deptID)); }
public static SqlDataReader GetListByDept(int deptID) { CDbEmployee dbDt = new CDbEmployee(); return(dbDt.GetListByDept(deptID)); }
public static DataSet GetListForCombo() { CDbEmployee dbDt = new CDbEmployee(); return(dbDt.GetListForCombo()); }
public static SqlDataReader GetListProjectManagers() { CDbEmployee dbDt = new CDbEmployee(); return(dbDt.GetListProjectManagers()); }
public static SqlDataReader GetRelationshipManagerList() //***********************Added 7/13/2015 { CDbEmployee dbDt = new CDbEmployee(); return(dbDt.GetRelationshipManagerList()); }
public static SqlDataReader GetList() { CDbEmployee dbDt = new CDbEmployee(); return(dbDt.GetList()); }