/// <summary>
 /// Create a new Event object.
 /// </summary>
 /// <param name="eventId">Initial value of the EventId property.</param>
 /// <param name="title">Initial value of the Title property.</param>
 /// <param name="startingTime">Initial value of the StartingTime property.</param>
 /// <param name="endingTime">Initial value of the EndingTime property.</param>
 /// <param name="startingAddress">Initial value of the StartingAddress property.</param>
 /// <param name="endingAddress">Initial value of the EndingAddress property.</param>
 /// <param name="destCity">Initial value of the DestCity property.</param>
 /// <param name="destState">Initial value of the DestState property.</param>
 /// <param name="startingState">Initial value of the StartingState property.</param>
 /// <param name="startingCity">Initial value of the StartingCity property.</param>
 /// <param name="days">Initial value of the Days property.</param>
 public static Event CreateEvent(global::System.Int32 eventId, global::System.String title, global::System.String startingTime, global::System.String endingTime, global::System.String startingAddress, global::System.String endingAddress, global::System.String destCity, global::System.String destState, global::System.String startingState, global::System.String startingCity, global::System.String days)
 {
     Event @event = new Event();
     @event.EventId = eventId;
     @event.Title = title;
     @event.StartingTime = startingTime;
     @event.EndingTime = endingTime;
     @event.StartingAddress = startingAddress;
     @event.EndingAddress = endingAddress;
     @event.DestCity = destCity;
     @event.DestState = destState;
     @event.StartingState = startingState;
     @event.StartingCity = startingCity;
     @event.Days = days;
     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);
 }