/// <summary> /// Deprecated Method for adding a new object to the TitleGenres EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToTitleGenres(TitleGenre titleGenre) { base.AddObject("TitleGenres", titleGenre); }
/// <summary> /// Create a new TitleGenre object. /// </summary> /// <param name="id">Initial value of the Id property.</param> /// <param name="titleId">Initial value of the TitleId property.</param> /// <param name="genreId">Initial value of the GenreId property.</param> public static TitleGenre CreateTitleGenre(global::System.Int32 id, global::System.Int32 titleId, global::System.Int32 genreId) { TitleGenre titleGenre = new TitleGenre(); titleGenre.Id = id; titleGenre.TitleId = titleId; titleGenre.GenreId = genreId; return titleGenre; }