Esempio n. 1
0
 /// <summary>
 /// Create a new tb_ticket object.
 /// </summary>
 /// <param name="ticketNumber">Initial value of the TicketNumber property.</param>
 /// <param name="rLOC">Initial value of the RLOC property.</param>
 /// <param name="commission">Initial value of the Commission property.</param>
 /// <param name="airline">Initial value of the Airline property.</param>
 /// <param name="stamp">Initial value of the Stamp property.</param>
 public static tb_ticket Createtb_ticket(global::System.String ticketNumber, global::System.String rLOC, global::System.Int32 commission, global::System.String airline, global::System.DateTime stamp)
 {
     tb_ticket tb_ticket = new tb_ticket();
     tb_ticket.TicketNumber = ticketNumber;
     tb_ticket.RLOC = rLOC;
     tb_ticket.Commission = commission;
     tb_ticket.Airline = airline;
     tb_ticket.Stamp = stamp;
     return tb_ticket;
 }
Esempio n. 2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tb_ticket EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotb_ticket(tb_ticket tb_ticket)
 {
     base.AddObject("tb_ticket", tb_ticket);
 }