示例#1
0
 public Reservation(bool tente, DateTime arrivee, DateTime depart, int nbrAdultes, int nbrEnfants, bool supParking, bool supElectricite, bool validation)
 {
     this.tente          = tente;
     this.arrivee        = arrivee;
     this.depart         = depart;
     this.nbrAdultes     = nbrAdultes;
     this.nbrEnfants     = nbrEnfants;
     this.supParking     = supParking;
     this.supElectricite = supElectricite;
     this.validation     = validation;
     this.emplacement    = emplacement;
 }
示例#2
0
 public void reserverEmplacement(Emplacement e)
 {
     e.disponible = false;
     maBaseDD.SaveChanges();
 }
示例#3
0
 public void reserverEmplacement(Emplacement e)
 {
     e.disponible = false;
     maBaseDD.SaveChanges();
 }