/// <summary> /// 一个reservation订单里包含多个booking /// </summary> /// <param name="books"></param> /// <returns>新建的reservation单</returns> internal IReservation CreateReservation() { IReservation reservation = new Reservation(); dbCon.UpdateClock(); return(dbCon.CreateReservation(reservation.ID, 0, 0, ReservationStatus.Canceled)); }