Пример #1
0
 public BO.LineStation GetLineStation(int lineId, int stationId)
 {
     DO.LineStation ls = dl.GetLineStation(lineId, stationId);
     if (ls != null)
     {
         return(LineStationDoBoAdapter(dl.GetLineStation(lineId, stationId)));
     }
     else
     {
         return(null);
     }
 }
Пример #2
0
 DO.LineStation LineStationBoDoAdapter(BO.LineStation lineStationBo)
 {
     DO.LineStation lineStationDo = new DO.LineStation();
     lineStationBo.CopyPropertiesTo(lineStationDo);
     return(lineStationDo);
 }
Пример #3
0
 BO.LineStation LineStationDoBoAdapter(DO.LineStation lineStationDo)
 {
     BO.LineStation lineStationBo = new BO.LineStation();
     lineStationDo.CopyPropertiesTo(lineStationBo);
     return(lineStationBo);
 }