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