var foodmylist = Bangso.MethodUtility.FillEntity.GetListFromSqlcmd<Bangso.Module.FoodMy>(sqlcmd, param2);
var s = (from un in foodmylist where un.Username == "xinux" select un).ToList() ;
var s2 = from fm in foodmylist group fm by new { fm.Datetime, fm.Username } into g select new {lear = g.Key,cc =g.Count()};
var s3 = foodmylist.GroupBy(fm => new { fm.Datetime, fm.Username }).Select(g => new{Lear = g.Key,cc = g.Count()});
foreach (var temps in s)
{
context.Response.Write(temps.Title);
}
var s = (from un in foodmylist where un.Username == "xinux" select un).ToList() ;
var s2 = from fm in foodmylist group fm by new { fm.Datetime, fm.Username } into g select new {lear = g.Key,cc =g.Count()};
var s3 = foodmylist.GroupBy(fm => new { fm.Datetime, fm.Username }).Select(g => new{Lear = g.Key,cc = g.Count()});
foreach (var temps in s)
{
context.Response.Write(temps.Title);
}