1.返回满足条件的第一条数据或者返还空;两个条件查询用&&;
people result=new people();
result.Where(r=>r.ids.Tostring()==ids).FirstOrDefault();
2.返回某一行
result.Select(p=>p.ids).ToList();
3.list的更改赋值
List<PickingMail> maillist;
maillist.ForEach(x => x.BuyerName = x.BuyerName.Substring(1, 7));
maillist.Where(p => p > 6).ToList();