/// <summary>
 /// Deprecated Method for adding a new object to the StoryCategories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStoryCategories(StoryCategory storyCategory)
 {
     base.AddObject("StoryCategories", storyCategory);
 }
 /// <summary>
 /// Create a new StoryCategory object.
 /// </summary>
 /// <param name="storyId">Initial value of the StoryId property.</param>
 /// <param name="categoryId">Initial value of the CategoryId property.</param>
 /// <param name="createBy">Initial value of the CreateBy property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 public static StoryCategory CreateStoryCategory(global::System.Int32 storyId, global::System.Int32 categoryId, global::System.String createBy, global::System.DateTime createDate)
 {
     StoryCategory storyCategory = new StoryCategory();
     storyCategory.StoryId = storyId;
     storyCategory.CategoryId = categoryId;
     storyCategory.CreateBy = createBy;
     storyCategory.CreateDate = createDate;
     return storyCategory;
 }