public bool Delete(EL.REGISTRATIONS.staffs staffEL) { string sQuery = "DELETE FROM staffs where staffid = '" + staffEL.Staffid + "'"; return(Helper.executeNonQueryBool(sQuery)); }
public bool Update(EL.REGISTRATIONS.staffs staffEL) { string sQuery = "UPDATE staffs SET designationid = '" + staffEL.Designationid + "', datehired = '" + staffEL.Datehired + "' WHERE staffid = '" + staffEL.Staffid + "'"; return(Helper.executeNonQueryBool(sQuery)); }
public long Insert(EL.REGISTRATIONS.staffs staffEL) { string sQuery = "INSERT INTO staffs (basicinformationid, designationid, datehired) VALUES ('" + staffEL.Basicinformationid + "', '" + staffEL.Designationid + "', '" + staffEL.Datehired + "')"; return(Helper.executeNonQueryLong(sQuery)); }
public bool Delete(EL.REGISTRATIONS.staffs staffEL) { return(staffDL.Delete(staffEL)); }
public bool Update(EL.REGISTRATIONS.staffs staffEL) { return(staffDL.Update(staffEL)); }
public long Insert(EL.REGISTRATIONS.staffs staffEL) { return(staffDL.Insert(staffEL)); }