/// <summary> /// Create a new Event object. /// </summary> /// <param name="id">Initial value of the Id property.</param> public static Event CreateEvent(global::System.Int32 id) { Event @event = new Event(); @event.Id = id; return @event; }
/// <summary> /// Deprecated Method for adding a new object to the Events EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEvents(Event @event) { base.AddObject("Events", @event); }