/// <summary>
 /// Create a new Ticket object.
 /// </summary>
 /// <param name="ticketID">Initial value of the TicketID property.</param>
 /// <param name="premiereID">Initial value of the PremiereID property.</param>
 public static Ticket CreateTicket(global::System.Int32 ticketID, global::System.Int32 premiereID)
 {
     Ticket ticket = new Ticket();
     ticket.TicketID = ticketID;
     ticket.PremiereID = premiereID;
     return ticket;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Ticket EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTicket(Ticket ticket)
 {
     base.AddObject("Ticket", ticket);
 }