示例#1
0
 /// <summary>
 /// 通过ID获取图书信息
 /// </summary>
 public Getallbookinfo()
 {
     this.bookInfoAccess     = DALFactory.CreateBookInfoAccess();
     this.Connection         = Better517Na.LibrayMgr.ConnectionFactory.ConnectionFactory.CreateConnect();
     this.IsBeginTransaction = false;
     this.IsolationLevel     = IsolationLevel.ReadCommitted;
 }
示例#2
0
 /// <summary>
 /// 通过ID获取图书信息
 /// </summary>
 /// <param name="booknaem">查询关键字</param>
 public Querybookbyname(string booknaem)
 {
     this.bookName           = booknaem;
     this.bookInfoAccess     = DALFactory.CreateBookInfoAccess();
     this.Connection         = Better517Na.LibrayMgr.ConnectionFactory.ConnectionFactory.CreateConnect();
     this.IsBeginTransaction = false;
     this.IsolationLevel     = IsolationLevel.ReadCommitted;
 }