Exemple #1
0
 /// <summary>
 /// Create a new ticket object.
 /// </summary>
 /// <param name="webProfile">Initial value of the WebProfile property.</param>
 /// <param name="tripID">Initial value of the TripID property.</param>
 /// <param name="ticketNumber">Initial value of the TicketNumber property.</param>
 public static ticket Createticket(global::System.String webProfile, global::System.String tripID, global::System.String ticketNumber)
 {
     ticket ticket = new ticket();
     ticket.WebProfile = webProfile;
     ticket.TripID = tripID;
     ticket.TicketNumber = ticketNumber;
     return ticket;
 }
Exemple #2
0
 /// <summary>
 /// Deprecated Method for adding a new object to the tickets EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddTotickets(ticket ticket)
 {
     base.AddObject("tickets", ticket);
 }