摘要:
var sizelist= (from p in stockList select p.Size).Distinct().ToArray(); 阅读全文
摘要:
string[] cities =new string[] { "Seattle", "London", "Vancouver", "Paris" };var q = db.Customers.Where(p=>cities.Contains(p.City)).ToList(); 阅读全文