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));
        }
Example #4
0
 public bool Delete(EL.REGISTRATIONS.staffs staffEL)
 {
     return(staffDL.Delete(staffEL));
 }
Example #5
0
 public bool Update(EL.REGISTRATIONS.staffs staffEL)
 {
     return(staffDL.Update(staffEL));
 }
Example #6
0
 public long Insert(EL.REGISTRATIONS.staffs staffEL)
 {
     return(staffDL.Insert(staffEL));
 }