示例#1
0
 public TravelEditModel(ConnextBusinessLayer.Bdd.TRAVEL objBdd)
 {
     Id              = objBdd.ID_TRAVEL;
     Publication     = new PublicationModel(objBdd.PUBLICATION);
     DepartureAgency = new AgencyLiteModel(objBdd.AGENCY);
     ArrivalAgency   = new AgencyLiteModel(objBdd.AGENCY1);
     Capacity        = objBdd.CAPACITY;
     DepartureTime   = objBdd.DEPARTUREHOUR;
     ArrivalTime     = objBdd.ARRIVALHOUR;
 }
示例#2
0
 public TravelEditModel(ConnextBusinessLayer.Bdd.TRAVEL objBdd)
 {
     Id = objBdd.ID_TRAVEL;
     Publication = new PublicationModel(objBdd.PUBLICATION);
     DepartureAgency = new AgencyLiteModel(objBdd.AGENCY);
     ArrivalAgency = new AgencyLiteModel(objBdd.AGENCY1);
     Capacity = objBdd.CAPACITY;
     DepartureTime = objBdd.DEPARTUREHOUR;
     ArrivalTime = objBdd.ARRIVALHOUR;
 }