/// <summary> /// Deprecated Method for adding a new object to the calendar_globalevent EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddTocalendar_globalevent(calendar_globalevent calendar_globalevent) { base.AddObject("calendar_globalevent", calendar_globalevent); }
/// <summary> /// Create a new calendar_globalevent object. /// </summary> /// <param name="eventid">Initial value of the eventid property.</param> /// <param name="eventtype">Initial value of the eventtype property.</param> /// <param name="userid">Initial value of the userid property.</param> /// <param name="createtime">Initial value of the createtime property.</param> /// <param name="content">Initial value of the content property.</param> public static calendar_globalevent Createcalendar_globalevent(global::System.Guid eventid, global::System.String eventtype, global::System.Guid userid, global::System.DateTime createtime, global::System.String content) { calendar_globalevent calendar_globalevent = new calendar_globalevent(); calendar_globalevent.eventid = eventid; calendar_globalevent.eventtype = eventtype; calendar_globalevent.userid = userid; calendar_globalevent.createtime = createtime; calendar_globalevent.content = content; return calendar_globalevent; }