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