Exemple #1
0
 /// <summary>
 /// 更新一条数据
 /// </summary>
 public bool Update(Library.Model.Employee model)
 {
     return(dal.Update(model));
 }
Exemple #2
0
 public void LoadData(int id)
 {
     m_Model             = Library.Controller.SystemManager.Instance.Services.EmployeeService.GetModel(id);
     this.txtName.Text   = m_Model.F_Name;
     this.txtMobile.Text = m_Model.F_Mobile;
 }
Exemple #3
0
 /// <summary>
 /// 增加一条数据
 /// </summary>
 public int  Add(Library.Model.Employee model)
 {
     return(dal.Add(model));
 }