public void TestWithFetchingStrategyParser() { CustomerRepository repos = new CustomerRepository(); Specification<Customer> italian_spec = new Specification<Customer>(c => c.Country == "Italy"); var italian_custs = repos.AllToIList(new MakePreferedFetchingStrategy()); foreach (var cust in italian_custs) { foreach (var order in cust.Orders) { Console.WriteLine("Order Number : {0}", order.OrderID); } } }