/// <summary> /// Deprecated Method for adding a new object to the EventAttendeePreferenceValues EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEventAttendeePreferenceValues(EventAttendeePreferenceValue eventAttendeePreferenceValue) { base.AddObject("EventAttendeePreferenceValues", eventAttendeePreferenceValue); }
/// <summary> /// Create a new EventAttendeePreferenceValue object. /// </summary> /// <param name="eventAttendees_Id">Initial value of the EventAttendees_Id property.</param> /// <param name="preferenceValues_Id">Initial value of the PreferenceValues_Id property.</param> /// <param name="id">Initial value of the Id property.</param> public static EventAttendeePreferenceValue CreateEventAttendeePreferenceValue(global::System.Int32 eventAttendees_Id, global::System.Int32 preferenceValues_Id, global::System.Int32 id) { EventAttendeePreferenceValue eventAttendeePreferenceValue = new EventAttendeePreferenceValue(); eventAttendeePreferenceValue.EventAttendees_Id = eventAttendees_Id; eventAttendeePreferenceValue.PreferenceValues_Id = preferenceValues_Id; eventAttendeePreferenceValue.Id = id; return eventAttendeePreferenceValue; }