2016年4月21日

lamda表达式 随机取数据的方法

摘要: 随机取数据,关键要用到Guid.NewGuid()才可以的,Take(10)表示随机取10条记录 var _icpics = DB.I_FirstRecommend.GetAllList().Where(s => !string.IsNullOrEmpty(s.Scenery)).OrderBy(s 阅读全文

posted @ 2016-04-21 16:12 波澜不惊super 阅读(835) 评论(0) 推荐(0) 编辑

导航