/// <summary> /// Create a new Genre object. /// </summary> /// <param name="genreID">Initial value of the GenreID property.</param> public static Genre CreateGenre(global::System.Int32 genreID) { Genre genre = new Genre(); genre.GenreID = genreID; return genre; }
/// <summary> /// Deprecated Method for adding a new object to the Genre EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToGenre(Genre genre) { base.AddObject("Genre", genre); }