public bool SetDataRoot(global::System.Object newDataRoot) { if (newDataRoot != null) { this.dataRoot = (global::Task_App.Models.Employee)newDataRoot; return(true); } return(false); }
// Update methods for each path node used in binding steps. private void Update_(global::Task_App.Models.Employee obj, int phase) { if (obj != null) { if ((phase & (NOT_PHASED | (1 << 0))) != 0) { this.Update_id(obj.id, phase); this.Update_name(obj.name, phase); this.Update_role(obj.role, phase); this.Update_designation(obj.designation, phase); this.Update_username(obj.username, phase); } } }