Пример #1
0
 /// <summary>
 /// Create a new tb_ticket_segment object.
 /// </summary>
 /// <param name="ticketNumber">Initial value of the TicketNumber property.</param>
 /// <param name="segmentNumber">Initial value of the SegmentNumber property.</param>
 /// <param name="couponStatus">Initial value of the CouponStatus property.</param>
 /// <param name="vendor">Initial value of the Vendor property.</param>
 /// <param name="flightNumber">Initial value of the FlightNumber property.</param>
 /// <param name="cabin">Initial value of the Cabin property.</param>
 /// <param name="segDate">Initial value of the SegDate property.</param>
 /// <param name="startAirport">Initial value of the StartAirport property.</param>
 /// <param name="endAirport">Initial value of the EndAirport property.</param>
 /// <param name="status">Initial value of the Status property.</param>
 /// <param name="fareBasis">Initial value of the FareBasis property.</param>
 /// <param name="couponNumber">Initial value of the CouponNumber property.</param>
 /// <param name="currency">Initial value of the Currency property.</param>
 /// <param name="fare">Initial value of the Fare property.</param>
 /// <param name="allowance">Initial value of the Allowance property.</param>
 /// <param name="allowanceType">Initial value of the AllowanceType property.</param>
 /// <param name="notValidBefore">Initial value of the NotValidBefore property.</param>
 /// <param name="notValidAfter">Initial value of the NotValidAfter property.</param>
 /// <param name="stopOverIndicator">Initial value of the StopOverIndicator property.</param>
 /// <param name="stamp">Initial value of the Stamp property.</param>
 public static tb_ticket_segment Createtb_ticket_segment(global::System.String ticketNumber, global::System.Int32 segmentNumber, global::System.String couponStatus, global::System.String vendor, global::System.String flightNumber, global::System.String cabin, global::System.DateTime segDate, global::System.String startAirport, global::System.String endAirport, global::System.String status, global::System.String fareBasis, global::System.Int32 couponNumber, global::System.String currency, global::System.Double fare, global::System.String allowance, global::System.String allowanceType, global::System.DateTime notValidBefore, global::System.DateTime notValidAfter, global::System.String stopOverIndicator, global::System.DateTime stamp)
 {
     tb_ticket_segment tb_ticket_segment = new tb_ticket_segment();
     tb_ticket_segment.TicketNumber = ticketNumber;
     tb_ticket_segment.SegmentNumber = segmentNumber;
     tb_ticket_segment.CouponStatus = couponStatus;
     tb_ticket_segment.Vendor = vendor;
     tb_ticket_segment.FlightNumber = flightNumber;
     tb_ticket_segment.Cabin = cabin;
     tb_ticket_segment.SegDate = segDate;
     tb_ticket_segment.StartAirport = startAirport;
     tb_ticket_segment.EndAirport = endAirport;
     tb_ticket_segment.Status = status;
     tb_ticket_segment.FareBasis = fareBasis;
     tb_ticket_segment.CouponNumber = couponNumber;
     tb_ticket_segment.Currency = currency;
     tb_ticket_segment.Fare = fare;
     tb_ticket_segment.Allowance = allowance;
     tb_ticket_segment.AllowanceType = allowanceType;
     tb_ticket_segment.NotValidBefore = notValidBefore;
     tb_ticket_segment.NotValidAfter = notValidAfter;
     tb_ticket_segment.StopOverIndicator = stopOverIndicator;
     tb_ticket_segment.Stamp = stamp;
     return tb_ticket_segment;
 }
Пример #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tb_ticket_segment EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotb_ticket_segment(tb_ticket_segment tb_ticket_segment)
 {
     base.AddObject("tb_ticket_segment", tb_ticket_segment);
 }