/// <summary> /// 属性赋值构造函数 /// </summary> /// <param name="bid">BookID 唯一编号</param> /// <param name="info">教材信息元组</param> public BookInformation(int bid, _BookInformation info) { BookID = bid; BookInfo = info.Clone(); }
/// <summary> /// 属性赋值构造函数 /// </summary> /// <param name="bid">BookID 唯一编号</param> /// <param name="info">教材信息元组</param> public BookDetail(int bid, _BookInformation info, _BookPrinting print) { BookID = bid; BookInfo = info.Clone(); BookPrint = print.Clone(); }
public BookDetail(int bid, string[] rawData1, string[] rawData2) { BookID = bid; BookInfo = new _BookInformation(rawData1); BookPrint = new _BookPrinting(rawData2); }
/// <summary> 默认构造函数 </summary> public BookDetail() { BookInfo = new _BookInformation(); BookPrint = new _BookPrinting(); }