/// <summary> /// 构造函数 /// </summary> public BGetJokes() { this.Connection = ConnectionFactory.SpiderDBRead; this.IsBeginTransaction = false; this.qiushibaikeDal = new DQiushibaike(); this.type = 1; }
/// <summary> /// 构造函数 /// </summary> public BGetJokes(string keywords) { this.Connection = ConnectionFactory.SpiderDBRead; this.IsBeginTransaction = false; this.qiushibaikeDal = new DQiushibaike(); this.keyWord = keywords; this.type = 0; }