public bool HasUser(string userName) { Data.User user = new Data.User(PubConstant.ConnectionString); return(user.HasUser(userName)); }
/// <summary> /// 用户名是否已经存在 /// </summary> public bool HasUser(string userName) { return(dataUser.HasUser(userName)); }