📅  最后修改于: 2022-03-11 14:48:41.650000             🧑  作者: Mango
public void SaveRegister(string str_user)
{
Employee emp = new Employee();
emp.EmpID= txtEmp.Text;
emp.EmpNo = txtEmp.Text;
emp.UserName = str_user;
emp.DeviceID= "test";
emp.IsActive = 0;
emp.IsRegister = 1;
App.EmpDB.SaveEmployeeAsync(emp);
}