/// <summary> /// Create a new ConferenceTrack object. /// </summary> /// <param name="trackId">Initial value of the TrackId property.</param> /// <param name="trackName">Initial value of the TrackName property.</param> /// <param name="trackChair">Initial value of the TrackChair property.</param> /// <param name="minSessions">Initial value of the MinSessions property.</param> /// <param name="maxSessions">Initial value of the MaxSessions property.</param> public static ConferenceTrack CreateConferenceTrack(global::System.Int32 trackId, global::System.String trackName, global::System.String trackChair, global::System.Int32 minSessions, global::System.Int32 maxSessions) { ConferenceTrack conferenceTrack = new ConferenceTrack(); conferenceTrack.TrackId = trackId; conferenceTrack.TrackName = trackName; conferenceTrack.TrackChair = trackChair; conferenceTrack.MinSessions = minSessions; conferenceTrack.MaxSessions = maxSessions; return(conferenceTrack); }
/// <summary> /// Deprecated Method for adding a new object to the ConferenceTracks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToConferenceTracks(ConferenceTrack conferenceTrack) { base.AddObject("ConferenceTracks", conferenceTrack); }