// Get an entire entity set. static void ListAllProducts(BlakeReference.Container container) { foreach (var p in container.Products) { DisplayProduct(p); } }
static void DisplayProduct(BlakeReference.Product product) { Console.WriteLine("{0} {1} {2}", product.Name, product.Price, product.Category); }