/// <summary> /// Deprecated Method for adding a new object to the EventOrganizers EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEventOrganizers(EventOrganizer eventOrganizer) { base.AddObject("EventOrganizers", eventOrganizer); }
/// <summary> /// Create a new EventOrganizer object. /// </summary> /// <param name="eventsAsOrganizer_Id">Initial value of the EventsAsOrganizer_Id property.</param> /// <param name="organizers_Id">Initial value of the Organizers_Id property.</param> public static EventOrganizer CreateEventOrganizer(global::System.Int32 eventsAsOrganizer_Id, global::System.Int32 organizers_Id) { EventOrganizer eventOrganizer = new EventOrganizer(); eventOrganizer.EventsAsOrganizer_Id = eventsAsOrganizer_Id; eventOrganizer.Organizers_Id = organizers_Id; return eventOrganizer; }