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); }
public DO.DO.busOnTrip BOtoDOadapter(BO.busOnTrip adjacent) { couche_DL.DLAPI.DO.busOnTrip x = new couche_DL.DLAPI.DO.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); }
public bool CreatebusOnTrip(BO.busOnTrip adjacent)//petite betise dlfactory { couche_DL.DLAPI.DO.busOnTrip x = BOtoDOadapter(adjacent); return(DL.CreatebusOnTrip(x)); }