コード例 #1
0
 public BO.LineTrip DOtoBOadapter(DO.DO.LineTrip ligneTrip)
 {
     BO.LineTrip x = new BO.LineTrip();
     x.FinishAt  = ligneTrip.FinishAt;
     x.Frequency = ligneTrip.Frequency;
     x.id        = ligneTrip.id;
     x.Lineld    = ligneTrip.Lineld;
     x.StartAt   = ligneTrip.StartAt;
     return(x);
 }
コード例 #2
0
 public DO.DO.LineTrip BOtoDOadapter(BO.LineTrip LineTrip)
 {
     couche_DL.DLAPI.DO.LineTrip x = new couche_DL.DLAPI.DO.LineTrip();
     x.FinishAt  = LineTrip.FinishAt;
     x.Frequency = LineTrip.Frequency;
     x.id        = LineTrip.id;
     x.Lineld    = LineTrip.Lineld;
     x.StartAt   = LineTrip.StartAt;
     return(x);
 }
コード例 #3
0
 public bool UpdatelineTrip(BO.LineTrip voyage)
 {
     return(DL.UpdateAdajacent(BOtoDOadapter(voyage)));
 }
コード例 #4
0
 public bool CreateLineTrip(BO.LineTrip adjacent)
 {
     DO.DO.LineTrip x = BOtoDOadapter(adjacent);
     return(DL.CreateAdjacentStation(x));
 }