Exemplo n.º 1
0
 public BO.busOnTrip DOtoBOadapter(DO.DO.busOnTrip adjacent)
 {
     BO.busOnTrip x = new BO.busOnTrip();
     x.id             = adjacent.id;
     x.licenseNum     = adjacent.licenseNum;
     x.lineld         = adjacent.lineld;
     x.NextStationAt  = adjacent.NextStationAt;
     x.PlannedTakeOff = adjacent.PlannedTakeOff;
     x.PrevStation    = adjacent.PrevStation;
     x.PrevStationAt  = adjacent.PrevStationAt;
     return(x);
 }
Exemplo n.º 2
0
 public BO.busOnTrip ResearchbusOnTrip(int ID)
 {
     DO.DO.busOnTrip x = DL.ResearchbusOnTrip(ID);
     return(DOtoBOadapter(x));
 }