コード例 #1
0
        /// <summary>
        /// 根据idnum   查询信息
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public person Selectnum(string cars_num)
        {
            person obj = US.Selectnum(cars_num);

            return(obj);
        }
コード例 #2
0
        /// <summary>
        /// 根据idnum   查询出等级
        /// </summary>
        /// <param name="name"></param>
        /// <returns></returns>
        public person SelectSinglenum(string idnum)
        {
            person obj = US.SelectSinglenum(idnum);

            return(obj);
        }
コード例 #3
0
        /// <summary>
        /// 执行插入人员信息方法
        /// </summary>
        /// <param name="obj"></param>
        /// <returns>影响行数</returns>
        public int Insert(person obj)
        {
            int count = US.Insert(obj);

            return(count);
        }
コード例 #4
0
        /// <summary>
        /// 查询单笔数
        /// </summary>
        /// <param name="user_name">用户名</param>
        /// <returns></returns>
        public person SelectSingle(string user_name)
        {
            person obj = US.SelectSingle(user_name);

            return(obj);
        }
コード例 #5
0
        /// <summary>
        /// 更新人员信息
        /// </summary>
        /// <param name="obj"></param>
        /// <returns></returns>
        public int Update(person obj)
        {
            int count = US.Update(obj);

            return(count);
        }