예제 #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="id">Initial value of the Id property.</param>
 /// <param name="description">Initial value of the Description property.</param>
 /// <param name="keyword1">Initial value of the Keyword1 property.</param>
 public static Keyword CreateKeyword(global::System.Int32 id, global::System.String description, global::System.String keyword1)
 {
     Keyword keyword = new Keyword();
     keyword.Id = id;
     keyword.Description = description;
     keyword.Keyword1 = keyword1;
     return keyword;
 }