/// <summary> /// Deprecated Method for adding a new object to the Stories EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStories(Story story) { base.AddObject("Stories", story); }
/// <summary> /// Create a new Story object. /// </summary> /// <param name="storyId">Initial value of the StoryId property.</param> /// <param name="sprintId">Initial value of the SprintId property.</param> public static Story CreateStory(global::System.Int32 storyId, global::System.Int32 sprintId) { Story story = new Story(); story.StoryId = storyId; story.SprintId = sprintId; return story; }