Ejemplo n.º 1
0
 public static Func <Airport, string> MapRow(DateTime day)
 => (Airport a)
 => string.Join(',', new[] { a.Code, AirportDay.Create(a, day).Code });
Ejemplo n.º 2
0
 public static Func <Flight <Airport, Airline>, string> MapRow(DateTime day)
 => (Flight <Airport, Airline> a)
 => string.Join(',', new[] { $"{a.FlightNumber}_{day.ToString("yyyyMMdd")}", AirportDay.Create(a.To, day).Code, $"{a.From.Code}_FLIGHT" });
Ejemplo n.º 3
0
 public static string MapRow(AirportDay ad) => string.Join(',', new[] { ad.Code });