摘要: Person1: Id=1, Name="Test1"Person2: Id=1, Name="Test1"Person3: Id=2, Name="Test2"以上list如果直接使用distinct方法进行过滤,仍然返回3条数据,而需要的结果是2条数据。下面给出解这个问题的方法:方法1:Dist... 阅读全文
posted @ 2015-10-13 10:41 Cat Qi 阅读(11249) 评论(2) 推荐(0) 编辑