コード例 #1
0
        public void compiled_cust_by_country_expression()
        {
            CustomerRepository cust_repo =
                new CustomerRepository();
            var german_custs = cust_repo.GetCompiledCustomerByCountry();

            foreach (var cust in german_custs)
            {
                Console.WriteLine("The customer is from {0}", cust.Country);
            }
        }