if(!string.IsNullOrEmpty(SID)){
entitys=entitys.Where(x=>x.SID=='123')
}
if(!string.IsNullOrEmpty(SPwd)){
entitys=entitys.Where(x=>x.SPwd=='123')
}
return Json(entitys)
var query = from a in db.表1join b in db.表2 on a.bid equals b.id
join c in db.表3 on a.cid equals c.id
select new {
AName=a.Name,
BName=b.Name,
CName=c.Name
}
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)