예제 #1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the ViewNewSearches EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToViewNewSearches(ViewNewSearch viewNewSearch)
 {
     base.AddObject("ViewNewSearches", viewNewSearch);
 }
예제 #2
0
 /// <summary>
 /// Create a new ViewNewSearch object.
 /// </summary>
 /// <param name="productId">Initial value of the ProductId property.</param>
 /// <param name="engineId">Initial value of the EngineId property.</param>
 /// <param name="productName">Initial value of the ProductName property.</param>
 public static ViewNewSearch CreateViewNewSearch(global::System.Int64 productId, global::System.Int64 engineId, global::System.String productName)
 {
     ViewNewSearch viewNewSearch = new ViewNewSearch();
     viewNewSearch.ProductId = productId;
     viewNewSearch.EngineId = engineId;
     viewNewSearch.ProductName = productName;
     return viewNewSearch;
 }