/// <summary> /// Create a new CalendarEvents object. /// </summary> /// <param name="itemID">Initial value of the ItemID property.</param> /// <param name="moduleID">Initial value of the ModuleID property.</param> /// <param name="createdDate">Initial value of the CreatedDate property.</param> /// <param name="userID">Initial value of the UserID property.</param> public static CalendarEvents CreateCalendarEvents(global::System.Int32 itemID, global::System.Int32 moduleID, global::System.DateTime createdDate, global::System.Int32 userID) { CalendarEvents calendarEvents = new CalendarEvents(); calendarEvents.ItemID = itemID; calendarEvents.ModuleID = moduleID; calendarEvents.CreatedDate = createdDate; calendarEvents.UserID = userID; return calendarEvents; }
/// <summary> /// Deprecated Method for adding a new object to the CalendarEvents EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToCalendarEvents(CalendarEvents calendarEvents) { base.AddObject("CalendarEvents", calendarEvents); }