/// <summary> /// Deprecated Method for adding a new object to the SongInfoes EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSongInfoes(SongInfo songInfo) { base.AddObject("SongInfoes", songInfo); }
/// <summary> /// Create a new SongInfo object. /// </summary> /// <param name="songInfoID">Initial value of the SongInfoID property.</param> /// <param name="styleID">Initial value of the StyleID property.</param> /// <param name="title">Initial value of the Title property.</param> /// <param name="genre">Initial value of the Genre property.</param> /// <param name="artist">Initial value of the Artist property.</param> /// <param name="bPM">Initial value of the BPM property.</param> /// <param name="notes">Initial value of the Notes property.</param> public static SongInfo CreateSongInfo(global::System.Int32 songInfoID, global::System.Int32 styleID, global::System.String title, global::System.String genre, global::System.String artist, global::System.String bPM, global::System.String notes) { SongInfo songInfo = new SongInfo(); songInfo.SongInfoID = songInfoID; songInfo.StyleID = styleID; songInfo.Title = title; songInfo.Genre = genre; songInfo.Artist = artist; songInfo.BPM = bPM; songInfo.Notes = notes; return songInfo; }