public static Products_by_Category CreateProducts_by_Category(string categoryName, string productName, bool discontinued) { Products_by_Category products_by_Category = new Products_by_Category(); products_by_Category.CategoryName = categoryName; products_by_Category.ProductName = productName; products_by_Category.Discontinued = discontinued; return products_by_Category; }
public void AddToProducts_by_Categories(Products_by_Category products_by_Category) { base.AddObject("Products_by_Categories", products_by_Category); }