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); } }
DO.LineStation LineStationBoDoAdapter(BO.LineStation lineStationBo) { DO.LineStation lineStationDo = new DO.LineStation(); lineStationBo.CopyPropertiesTo(lineStationDo); return(lineStationDo); }
BO.LineStation LineStationDoBoAdapter(DO.LineStation lineStationDo) { BO.LineStation lineStationBo = new BO.LineStation(); lineStationDo.CopyPropertiesTo(lineStationBo); return(lineStationBo); }