private BO.AdjacentStation AdjFromDoToBo(DO.AdjacentStations adjS, int code) { BO.AdjacentStation result = (BO.AdjacentStation)adjS.CopyPropertiesToNew(typeof(BO.AdjacentStation)); result.AdjStation = GetStation(code); return(result); }