/// <summary> /// Deprecated Method for adding a new object to the EventTeams EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToEventTeams(EventTeam eventTeam) { base.AddObject("EventTeams", eventTeam); }
/// <summary> /// Create a new EventTeam object. /// </summary> /// <param name="eventID">Initial value of the EventID property.</param> /// <param name="teamID">Initial value of the TeamID property.</param> public static EventTeam CreateEventTeam(global::System.Int32 eventID, global::System.Int32 teamID) { EventTeam eventTeam = new EventTeam(); eventTeam.EventID = eventID; eventTeam.TeamID = teamID; return eventTeam; }