/// <summary> /// 根据idnum 查询信息 /// </summary> /// <param name="name"></param> /// <returns></returns> public person Selectnum(string cars_num) { person obj = US.Selectnum(cars_num); return(obj); }
/// <summary> /// 根据idnum 查询出等级 /// </summary> /// <param name="name"></param> /// <returns></returns> public person SelectSinglenum(string idnum) { person obj = US.SelectSinglenum(idnum); return(obj); }
/// <summary> /// 执行插入人员信息方法 /// </summary> /// <param name="obj"></param> /// <returns>影响行数</returns> public int Insert(person obj) { int count = US.Insert(obj); return(count); }
/// <summary> /// 查询单笔数 /// </summary> /// <param name="user_name">用户名</param> /// <returns></returns> public person SelectSingle(string user_name) { person obj = US.SelectSingle(user_name); return(obj); }
/// <summary> /// 更新人员信息 /// </summary> /// <param name="obj"></param> /// <returns></returns> public int Update(person obj) { int count = US.Update(obj); return(count); }