コード例 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the SearchKeywords EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSearchKeywords(SearchKeyword searchKeyword)
 {
     base.AddObject("SearchKeywords", searchKeyword);
 }
コード例 #2
0
 /// <summary>
 /// Create a new SearchKeyword object.
 /// </summary>
 /// <param name="queryKeyword">Initial value of the QueryKeyword property.</param>
 /// <param name="category">Initial value of the Category property.</param>
 public static SearchKeyword CreateSearchKeyword(global::System.String queryKeyword, global::System.Int32 category)
 {
     SearchKeyword searchKeyword = new SearchKeyword();
     searchKeyword.QueryKeyword = queryKeyword;
     searchKeyword.Category = category;
     return searchKeyword;
 }