Esempio n. 1
0
 /// <summary>
 /// Deprecated Method for adding a new object to the Sales_by_Categories EntitySet. Consider using the .Add method of the associated ObjectSet&lt;T&gt; property instead.
 /// </summary>
 public void AddToSales_by_Categories(Sales_by_Category sales_by_Category)
 {
     base.AddObject("Sales_by_Categories", sales_by_Category);
 }
Esempio n. 2
0
 /// <summary>
 /// Create a new Sales_by_Category object.
 /// </summary>
 /// <param name="categoryID">Initial value of the CategoryID property.</param>
 /// <param name="categoryName">Initial value of the CategoryName property.</param>
 /// <param name="productName">Initial value of the ProductName property.</param>
 public static Sales_by_Category CreateSales_by_Category(global::System.Int32 categoryID, global::System.String categoryName, global::System.String productName)
 {
     Sales_by_Category sales_by_Category = new Sales_by_Category();
     sales_by_Category.CategoryID = categoryID;
     sales_by_Category.CategoryName = categoryName;
     sales_by_Category.ProductName = productName;
     return sales_by_Category;
 }