public int Add(Employees m) { string sql = string.Format("insert into Employees values('{0}','{1}','{2}','{3}','{4}','{5}')", m.EName, m.ESex, m.EHiredate, m.EPwd, m.ERole, m.EState); return(DBHelper.ExecuteNonQuery(sql)); }
public Employee_LINQ_DAL(Employees employees) { this.employees = employees.Employeess; }