close

 

  public partial class CustomerData
    {
        public int CustomerId { get; set; }
        public string Cellphone { get; set; }
    }

========================上面是MVC 架構中的使用

Data=LIST<CustomerData>();

var Customerdata = (from a in Data group a by a.CustomerId into g where g.Count() > 1 select g.Key).ToList();

arrow
arrow
    全站熱搜

    萌新-工程師 發表在 痞客邦 留言(0) 人氣()