/// <summary>
 /// Create a new Events object.
 /// </summary>
 /// <param name="id">Initial value of the ID property.</param>
 /// <param name="dateStart">Initial value of the DateStart property.</param>
 /// <param name="dateEnd">Initial value of the DateEnd property.</param>
 public static Events CreateEvents(global::System.Int32 id, global::System.DateTime dateStart, global::System.DateTime dateEnd)
 {
     Events events = new Events();
     events.ID = id;
     events.DateStart = dateStart;
     events.DateEnd = dateEnd;
     return events;
 }
 /// <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(Events events)
 {
     base.AddObject("Events", events);
 }