Ejemplo n.º 1
0
 public BO.LineStation DOtoBOadapter(DO.DO.LineStation line)
 {
     BO.LineStation x = new BO.LineStation();
     x.lineLd           = line.lineLd;
     x.LineStationIndex = line.LineStationIndex;
     x.nextStation      = line.nextStation;
     x.prevStation      = line.prevStation;
     x.Station          = line.Station;
     return(x);
 }
Ejemplo n.º 2
0
 public DO.DO.LineStation BOtoDOadapter(BO.LineStation line)
 {
     DO.DO.LineStation x = new DO.DO.LineStation();
     x.lineLd           = line.lineLd;
     x.LineStationIndex = line.LineStationIndex;
     x.nextStation      = line.nextStation;
     x.prevStation      = line.prevStation;
     x.Station          = line.Station;
     return(x);
 }
Ejemplo n.º 3
0
 public bool UpdateLineStation(BO.LineStation line)
 {
     return(DL.UpdateAdajacent(BOtoDOadapter(line)));
 }
Ejemplo n.º 4
0
 public bool CreateLineStation(BO.LineStation line)
 {
     DO.DO.LineStation x = BOtoDOadapter(line);
     return(DL.CreateAdjacentStation(x));//je comprends pas
 }