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