日期:2014-05-20 浏览次数:20712 次
var query=from s in db.student where s.classID=="" select s; foreach(var q in query) { //var info=db.student.where(p=>p.id==q.id).first(); //info.classID=1; q.classID=... } db.submitchanges();