예제 #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);
 }
예제 #2
0
 /// <summary>
 /// Create a new Keyword object.
 /// </summary>
 /// <param name="keywordId">Initial value of the KeywordId property.</param>
 public static Keyword CreateKeyword(global::System.Guid keywordId)
 {
     Keyword keyword = new Keyword();
     keyword.KeywordId = keywordId;
     return keyword;
 }