/// <summary> /// Create a new Track object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="name">Initial value of the Name property.</param> /// <param name="eventId">Initial value of the EventId property.</param> /// <param name="roomId">Initial value of the RoomId property.</param> public static Track CreateTrack(global::System.Int32 id, global::System.String name, global::System.Int32 eventId, global::System.Int32 roomId) { Track track = new Track(); track.Id = id; track.Name = name; track.EventId = eventId; track.RoomId = roomId; return track; }
/// <summary> /// Deprecated Method for adding a new object to the Tracks EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTracks(Track track) { base.AddObject("Tracks", track); }