📌  相关文章
📜  SQL Lite 在 C# 中插入数据(来源:NAYCode.com) - C# 代码示例

📅  最后修改于: 2022-03-11 14:48:41.650000             🧑  作者: Mango

代码示例1
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);

    }