linq使用Distinct()

var result = (from p in db.t_Personnel
                  select p.FirstName).Distinct()

posted @ 2014-01-16 08:29  Mander_Gao  阅读(253)  评论(0编辑  收藏  举报