Exemple #1
0
        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));
        }
Exemple #2
0
 public Employee_LINQ_DAL(Employees employees)
 {
     this.employees = employees.Employeess;
 }