/// <summary> /// Deprecated Method for adding a new object to the StoryTags EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToStoryTags(StoryTag storyTag) { base.AddObject("StoryTags", storyTag); }
/// <summary> /// Create a new StoryTag object. /// </summary> /// <param name="tagCode">Initial value of the TagCode property.</param> /// <param name="storyId">Initial value of the StoryId property.</param> /// <param name="createBy">Initial value of the CreateBy property.</param> /// <param name="createDate">Initial value of the CreateDate property.</param> public static StoryTag CreateStoryTag(global::System.String tagCode, global::System.Int32 storyId, global::System.String createBy, global::System.DateTime createDate) { StoryTag storyTag = new StoryTag(); storyTag.TagCode = tagCode; storyTag.StoryId = storyId; storyTag.CreateBy = createBy; storyTag.CreateDate = createDate; return storyTag; }