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