public void AddToAlphabetical_list_of_products(Alphabetical_list_of_product alphabetical_list_of_product) { base.AddObject("Alphabetical_list_of_products", alphabetical_list_of_product); }
public static Alphabetical_list_of_product CreateAlphabetical_list_of_product(int productID, string productName, bool discontinued, string categoryName) { Alphabetical_list_of_product alphabetical_list_of_product = new Alphabetical_list_of_product(); alphabetical_list_of_product.ProductID = productID; alphabetical_list_of_product.ProductName = productName; alphabetical_list_of_product.Discontinued = discontinued; alphabetical_list_of_product.CategoryName = categoryName; return alphabetical_list_of_product; }