/// <summary> /// Deprecated Method for adding a new object to the EventPresentations EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEventPresentations(EventPresentation eventPresentation) { base.AddObject("EventPresentations", eventPresentation); }
/// <summary> /// Create a new EventPresentation object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="presentationId">Initial value of the PresentationId property.</param> /// <param name="eventId">Initial value of the EventId property.</param> public static EventPresentation CreateEventPresentation(global::System.Int32 id, global::System.Int32 presentationId, global::System.Int32 eventId) { EventPresentation eventPresentation = new EventPresentation(); eventPresentation.Id = id; eventPresentation.PresentationId = presentationId; eventPresentation.EventId = eventId; return eventPresentation; }