日期:2014-05-20 浏览次数:20833 次
string node="index"; var list = (from wf in db.WebFrame where (node).Contains(wf.nodes) select (wf.indexKey) ).ToList(); var artList= db.Article.Where(n => n.IsTop == true && (list).Contains(n.ArtType)).Take(10).OrderByDescending(n => n.id).ToList();
string node="index"; var list = (from wf in db.WebFrame where wf.nodes.Contains(node) select (wf.indexKey) ).ToList();