示例#1
0
        /// <summary>
        /// 更新学生
        /// </summary>
        /// <param name="student">学生实体</param>
        /// <returns></returns>
        public Enums.OpResult Updata(Student student)
        {
            int count = dao.Updata(student);

            if (count > 0)
            {
                return(Enums.OpResult.除成功);
            }
            else
            {
                return(Enums.OpResult.除失败);
            }
        }