/// <summary>
 /// Create a new EventType object.
 /// </summary>
 /// <param name="eventTypeID">Initial value of the EventTypeID property.</param>
 public static EventType CreateEventType(global::System.Int16 eventTypeID)
 {
     EventType eventType = new EventType();
     eventType.EventTypeID = eventTypeID;
     return eventType;
 }
 /// <summary>
 /// Deprecated Method for adding a new object to the EventTypes EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToEventTypes(EventType eventType)
 {
     base.AddObject("EventTypes", eventType);
 }