摘要:
获取List customerList的函数见:http://www.cnblogs.com/yf2011/p/3369927.html输出List中Berlin城市的Customer信息和该Customer订单 1 public void GetCustomerOrderByCity() 2 { 3 List customers = GetList(); 4 5 var waCustomers = 6 from cust in customers 7 ... 阅读全文
摘要:
实体类 1 public class Customer 2 { 3 public string CustomerID { get; set; } 4 public string CompanyName { get; set; } 5 public string Address { get; set; } 6 public string City { get; set; } 7 public string Region { get; set; } 8 ... 阅读全文