/// <summary> /// Deprecated Method for adding a new object to the EventAttendees EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEventAttendees(EventAttendee eventAttendee) { base.AddObject("EventAttendees", eventAttendee); }
/// <summary> /// Create a new EventAttendee object. /// </summary> /// <param name="eventID">Initial value of the EventID property.</param> /// <param name="userID">Initial value of the UserID property.</param> /// <param name="isClient">Initial value of the IsClient property.</param> public static EventAttendee CreateEventAttendee(global::System.Int32 eventID, global::System.Int32 userID, global::System.Boolean isClient) { EventAttendee eventAttendee = new EventAttendee(); eventAttendee.EventID = eventID; eventAttendee.UserID = userID; eventAttendee.IsClient = isClient; return eventAttendee; }