/// <summary> /// Deprecated Method for adding a new object to the SearchKeywords EntitySet. Consider using the .Add method of the associated ObjectSet<T> property instead. /// </summary> public void AddToSearchKeywords(SearchKeyword searchKeyword) { base.AddObject("SearchKeywords", searchKeyword); }
/// <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; }