/// <summary> /// Deprecated Method for adding a new object to the Storylines EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStorylines(Storyline storyline) { base.AddObject("Storylines", storyline); }
/// <summary> /// Create a new Storyline object. /// </summary> /// <param name="storylineId">Initial value of the StorylineId property.</param> /// <param name="filmId">Initial value of the FilmId property.</param> /// <param name="plotSynopsis">Initial value of the PlotSynopsis property.</param> /// <param name="plotSummary">Initial value of the PlotSummary property.</param> /// <param name="storyOutline">Initial value of the StoryOutline property.</param> public static Storyline CreateStoryline(global::System.Int32 storylineId, global::System.Int32 filmId, global::System.String plotSynopsis, global::System.String plotSummary, global::System.String storyOutline) { Storyline storyline = new Storyline(); storyline.StorylineId = storylineId; storyline.FilmId = filmId; storyline.PlotSynopsis = plotSynopsis; storyline.PlotSummary = plotSummary; storyline.StoryOutline = storyOutline; return storyline; }