コード例 #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
ファイル: Dal.cs プロジェクト: huo-jian/Camping2015_2016
 public void reserverEmplacement(Emplacement e)
 {
     e.disponible = false;
     maBaseDD.SaveChanges();
 }
コード例 #3
0
ファイル: Dal.cs プロジェクト: huo-jian/Camping2015_2016
 public void reserverEmplacement(Emplacement e)
 {
     e.disponible = false;
     maBaseDD.SaveChanges();
 }