Ejemplo n.º 1
0
        /// <summary>
        /// 删除信息
        /// </summary>
        /// <param name="xueyh">学员号</param>
        /// <returns></returns>
        public OperateResultModel DeleteXueyuan(string xueyh)
        {
            TblXueyuanDal dal = new TblXueyuanDal();

            return(dal.Delete(xueyh));
        }
Ejemplo n.º 2
0
        /// <summary>
        /// 更新信息
        /// </summary>
        /// <param name="model">实体</param>
        /// <returns></returns>
        public OperateResultModel UpdateXueyuan(tbl_xueyuan model)
        {
            TblXueyuanDal dal = new TblXueyuanDal();

            return(dal.Update(model));
        }
Ejemplo n.º 3
0
        /// <summary>
        /// 查询数据信息
        /// </summary>
        /// <param name="xueyh">学员号</param>
        /// <param name="xingming">姓名</param>
        /// <param name="shenfhm">身份号码</param>
        /// <param name="pm">分页信息</param>
        /// <returns></returns>
        public OperateResultModel QueryXueyuans(string xueyh, string xingming, string shenfhm, PaginModel pm)
        {
            TblXueyuanDal dal = new TblXueyuanDal();

            return(dal.Query(xueyh, xingming, shenfhm, pm));
        }
Ejemplo n.º 4
0
        /// <summary>
        /// 插入信息
        /// </summary>
        /// <param name="model">实体</param>
        /// <returns></returns>
        public OperateResultModel InsertXueyuan(tbl_xueyuan model)
        {
            TblXueyuanDal dal = new TblXueyuanDal();

            return(dal.Insert(model));
        }
Ejemplo n.º 5
0
        /// <summary>
        /// 查询实体
        /// </summary>
        /// <param name="xueyh">学员号</param>
        /// <returns></returns>
        public tbl_xueyuan QueryXueyuan(string xueyh)
        {
            TblXueyuanDal dal = new TblXueyuanDal();

            return(dal.Query(xueyh));
        }