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) 人氣()