private void Update_emp(global::adaptive.Models.employee obj, int phase) { if (obj != null) { if ((phase & (NOT_PHASED | (1 << 0))) != 0) { this.Update_emp_teamname(obj.teamname, phase); this.Update_emp_firstname(obj.firstname, phase); this.Update_emp_lastname(obj.lastname, phase); } } }
private void Update_emp(global::adaptive.Models.employee obj, int phase) { if (obj != null) { if ((phase & (NOT_PHASED | (1 << 0))) != 0) { this.Update_emp_firstname(obj.firstname, phase); this.Update_emp_lastname(obj.lastname, phase); this.Update_emp_id(obj.id, phase); this.Update_emp_gender(obj.gender, phase); this.Update_emp_salary(obj.salary, phase); this.Update_emp_phoneno(obj.phoneno, phase); this.Update_emp_dob(obj.dob, phase); this.Update_emp_shift(obj.shift, phase); } } }