public EF_Trip(GTFS_Trip trip, EF_Route route, EF_Calendar calendar, EF_Shape shape) { OriginalId = trip.TripId; RouteId = route; ServiceId = calendar; ShapeId = shape; TripHeadsign = trip.TripHeadsign; DirectionId = trip.DirectionId; BlockId = trip.BlockId; WheelchairAccessible = trip.WheelchairAccessible; }
public EF_CalendarDate(GTFS_CalendarDate cd, EF_Calendar forWhat) { CalendarId = forWhat; ExceptionDate = DateTime.ParseExact(cd.Date, "yyyyMMdd", System.Globalization.CultureInfo.InvariantCulture); ExceptionType = cd.ExceptionType; }