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();
全站熱搜