Пример #1
0
        public int UpdateClassDepartmentById(BaseClassDepartmentModel model)
        {
            int result = mapContext.Update("UpdateClassDepartmentById", model);

            return(result);
        }
Пример #2
0
 public bool UpdateEntity(int id, BaseClassDepartmentModel newentity)
 {
     throw new NotImplementedException();
 }
Пример #3
0
        public int AddEntity(BaseClassDepartmentModel entity)
        {
            int id = (int)mapContext.Insert("InsertClassDepartment", entity);

            return(id);
        }