/// <summary>
 /// Create a new Event object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="theaterID">Initial value of the TheaterID property.</param>
 /// <param name="startTime">Initial value of the StartTime property.</param>
 /// <param name="date">Initial value of the Date property.</param>
 /// <param name="listPrice">Initial value of the ListPrice property.</param>
 public static Event CreateEvent(global::System.Guid id, global::System.Int32 theaterID, global::System.DateTime startTime, global::System.DateTime date, global::System.Int32 listPrice)
 {
     Event @event = new Event();
     @event.ID = id;
     @event.TheaterID = theaterID;
     @event.StartTime = startTime;
     @event.Date = date;
     @event.ListPrice = listPrice;
     return @event;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the Events EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEvents(Event @event)
 {
     base.AddObject("Events", @event);
 }