/// <summary>
 /// Deprecated Method for adding a new object to the TicketTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToTicketTypes(TicketType ticketType)
 {
     base.AddObject("TicketTypes", ticketType);
 }
 /// <summary>
 /// Create a new TicketType object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="typeName">Initial value of the TypeName property.</param>
 /// <param name="price">Initial value of the Price property.</param>
 public static TicketType CreateTicketType(global::System.Int32 id, global::System.String typeName, global::System.Decimal price)
 {
     TicketType ticketType = new TicketType();
     ticketType.ID = id;
     ticketType.TypeName = typeName;
     ticketType.Price = price;
     return ticketType;
 }