public FlightVariantKeys(FlightVariantKeys from) { CharterKey = from.CharterKey; CharterClassKey = from.CharterClassKey; PartnerKey = from.PartnerKey; PacketKey = from.PacketKey; }
public FlightVariant(FlightVariant from) { if (from.FlightParamKeys != null) { FlightParamKeys = new FlightVariantKeys(from.FlightParamKeys); } CharterClassCode = from.CharterClassCode; PortCodeFrom = from.PortCodeFrom; CityKeyFrom = from.CityKeyFrom; PortCodeTo = from.PortCodeTo; CityKeyTo = from.CityKeyTo; AirlineCode = from.AirlineCode; FlightNumber = from.FlightNumber; AircraftType = from.AircraftType; DurationMin = from.DurationMin; DurationMax = from.DurationMax; DepartTime = from.DepartTime; ArrivalTime = from.ArrivalTime; if (from.FlightQuotaPriceData != null) { FlightQuotaPriceData = new QuotaPriceData(from.FlightQuotaPriceData); } }