/// <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="storyName">Initial value of the StoryName property.</param> /// <param name="updateBy">Initial value of the UpdateBy property.</param> /// <param name="updateDate">Initial value of the UpdateDate property.</param> /// <param name="createBy">Initial value of the CreateBy property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> public static Story CreateStory(global::System.Int32 storyId, global::System.String storyName, global::System.String updateBy, global::System.DateTime updateDate, global::System.String createBy, global::System.DateTime createDate) { Story story = new Story(); story.StoryId = storyId; story.StoryName = storyName; story.UpdateBy = updateBy; story.UpdateDate = updateDate; story.CreateBy = createBy; story.CreateDate = createDate; return story; }