Exemplo n.º 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the KeyWords EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToKeyWords(KeyWord keyWord)
 {
     base.AddObject("KeyWords", keyWord);
 }
Exemplo n.º 2
0
 /// <summary>
 /// Create a new KeyWord object.
 /// </summary>
 /// <param name="keyWordId">Initial value of the KeyWordId property.</param>
 /// <param name="keyWordGroupId">Initial value of the KeyWordGroupId property.</param>
 /// <param name="keyWordValue">Initial value of the KeyWordValue property.</param>
 /// <param name="keyWordType">Initial value of the KeyWordType property.</param>
 /// <param name="enabled">Initial value of the Enabled property.</param>
 /// <param name="createtBy">Initial value of the CreatetBy property.</param>
 /// <param name="createDate">Initial value of the CreateDate property.</param>
 /// <param name="updateBy">Initial value of the UpdateBy property.</param>
 /// <param name="updateTime">Initial value of the UpdateTime property.</param>
 /// <param name="styleId">Initial value of the StyleId property.</param>
 public static KeyWord CreateKeyWord(global::System.Int32 keyWordId, global::System.Int32 keyWordGroupId, global::System.String keyWordValue, global::System.String keyWordType, global::System.Boolean enabled, global::System.String createtBy, global::System.DateTime createDate, global::System.String updateBy, global::System.DateTime updateTime, global::System.Int32 styleId)
 {
     KeyWord keyWord = new KeyWord();
     keyWord.KeyWordId = keyWordId;
     keyWord.KeyWordGroupId = keyWordGroupId;
     keyWord.KeyWordValue = keyWordValue;
     keyWord.KeyWordType = keyWordType;
     keyWord.Enabled = enabled;
     keyWord.CreatetBy = createtBy;
     keyWord.CreateDate = createDate;
     keyWord.UpdateBy = updateBy;
     keyWord.UpdateTime = updateTime;
     keyWord.StyleId = styleId;
     return keyWord;
 }