示例#1
0
 public Order(DateTime deliveryDate, DateTime rentDate, Rentee rentee, Bike bike)
 {
     DeliveryDate = deliveryDate;
     RentDate     = rentDate;
     Rentee       = rentee;
     Bike         = bike;
     price        = GetPrice();
 }
示例#2
0
 //Constructors
 public Order(int id, DateTime deliveryDate, DateTime rentDate, Rentee rentee, Bike bike)
 {
     ID           = id;
     DeliveryDate = deliveryDate;
     RentDate     = rentDate;
     Rentee       = rentee;
     Bike         = bike;
 }
示例#3
0
 public Order(Bike bike, Rentee rentee, DateTime rentDate, DateTime deliveryDate, int id)
 {
     Bike         = bike;
     Rentee       = rentee;
     RentDate     = rentDate;
     DeliveryDate = deliveryDate;
     ID           = id;
 }
示例#4
0
 public Order(Bike bike, Rentee rentee, DateTime rentDate, DateTime deliveryDate, int id)
 {
     this.bike         = bike;
     this.rentee       = rentee;
     this.rentDate     = rentDate;
     this.deliveryDate = deliveryDate;
     this.id           = id;
 }
示例#5
0
 public Order(Bike b, Rentee r, DateTime rD, DateTime dD, int id)
 {
     Bike         = b;
     Rentee       = r;
     RentDate     = rD;
     DeliveryDate = dD;
     Id           = id;
 }
示例#6
0
 public Order(int id, DateTime deliveryDate, DateTime rentDate, Rentee rentee, Bike bike) : this(deliveryDate, rentDate, rentee, bike)
 {
     Id = id;
 }