var dataSource = (from t in context.Tags select new { Name = t.Description, Count = //I dont know how to do this :/ });
var dataSource = (from t in context.Tags group t by t.Description into t_group select new { Name = t_group.Key, Count = t_group.Count() });
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)