示例#1
0
 public Book(int _id)
 {
     BookId      = _id;
     Title       = BookCRUD.getTitle(_id);
     Author      = BookCRUD.getAuthor(_id);
     Type        = BookCRUD.getType(_id);
     PenaltyCost = BookCRUD.getPenaltyCost(_id);
     ReturnDate  = BookCRUD.getReturnDate(_id);
     State       = BookCRUD.getState(_id);
 }