Esempio n. 1
0
        public bool Update(string Id, string Name, string EmailId, string Password, string Image, string Status, string Area, string Notes, string MobileNumber, int IsAdmin)
        {
            bool Result = false;

            try
            {
                Result = _userData.Update(Id, Name, EmailId, Password, Image, Status, Area, Notes, MobileNumber, IsAdmin);
            }
            catch (Exception)
            {
            }
            return(Result);
        }
Esempio n. 2
0
 /// <summary>
 /// 更新用户信息
 /// </summary>
 public bool Update()
 {
     return(dataUser.Update(
                userID,
                userName,
                password,
                trueName,
                sex,
                phone,
                email,
                employeeID,
                departmentID,
                activity,
                userType,
                style));
 }
Esempio n. 3
0
 public void Update()
 {
     Data.User objData = new Data.User();
     objData.Update(this);
 }
Esempio n. 4
0
 /// <summary>
 /// 更新一个用户
 /// </summary>
 /// <param name="user"></param>
 /// <returns></returns>
 public int Update(Model.User user)
 {
     return(userData.Update(user));
 }
Esempio n. 5
0
 public bool Update()
 {
     Data.User user = new Data.User(PubConstant.ConnectionString);
     return(user.Update(this.userID, this.userName, this.password, this.trueName, this.sex, this.phone, this.email, this.employeeID, this.departmentID, this.activity, this.userType, this.style));
 }