日期:2014-05-20 浏览次数:20749 次
IList<DepartmentTree> list0 = BLLDepartmentTree.Instance.FindAll().Where(o => o.ID == 0).ToList();
this.Response.Write(string.Format("list0:{0};<br /><br />", list0.Count));
IList<DepartmentTree> list1 = BLLDepartmentTree.Instance.FindAll().Where(o => o.ID == 1).ToList();
list0.Concat(list1);
this.Response.Write(string.Format("list1:{0};<br />", list1.Count));
this.Response.Write(string.Format("list0:{0};<br /><br />", list0.Count));
IList<DepartmentTree> list2 = BLLDepartmentTree.Instance.FindAll().Where(o => o.ID == 5).ToList();
list0.Concat(list2);
this.Response.Write(string.Format("list2:{0};<br />", list2.Count));
this.Response.Write(string.Format("list0:{0};<br /><br />", list0.Count));
List<Myclass> result =
DataContext.Reward_award.Where(x => x.sports.Contains(strQuery)).Select(x => x).ToList();
List<Myclass> a = DataContext.Reward_award.Where("1=1").ToList();
List<Myclass> bbb = result.Concat(a).ToList();