Пример #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the StoryKeyWords EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToStoryKeyWords(StoryKeyWord storyKeyWord)
 {
     base.AddObject("StoryKeyWords", storyKeyWord);
 }
Пример #2
0
 /// <summary>
 /// Create a new StoryKeyWord object.
 /// </summary>
 /// <param name="keyWordId">Initial value of the KeyWordId property.</param>
 /// <param name="storyId">Initial value of the StoryId property.</param>
 /// <param name="storyKeyWordName">Initial value of the StoryKeyWordName property.</param>
 /// <param name="updateBy">Initial value of the UpdateBy property.</param>
 /// <param name="updateDate">Initial value of the UpdateDate property.</param>
 /// <param name="count">Initial value of the Count property.</param>
 /// <param name="position">Initial value of the Position property.</param>
 public static StoryKeyWord CreateStoryKeyWord(global::System.Int32 keyWordId, global::System.Int32 storyId, global::System.String storyKeyWordName, global::System.String updateBy, global::System.DateTime updateDate, global::System.Int32 count, global::System.Int32 position)
 {
     StoryKeyWord storyKeyWord = new StoryKeyWord();
     storyKeyWord.KeyWordId = keyWordId;
     storyKeyWord.StoryId = storyId;
     storyKeyWord.StoryKeyWordName = storyKeyWordName;
     storyKeyWord.UpdateBy = updateBy;
     storyKeyWord.UpdateDate = updateDate;
     storyKeyWord.Count = count;
     storyKeyWord.Position = position;
     return storyKeyWord;
 }