Dynamic Grouping Using LINQ
问题 Please have a look at below example. The Group Clause has to be dynamic. Can you please guide me how this can be achieved. i.e. the row { r.Portfolio, r.DataType } has to be constructed dynamically. Not sure how I can tweak the solution as given at blog http://jonahacquah.blogspot.com/2012/02/groupby-multiple-columns-using-dynamic.html public class DecisionSupportData { public string Portfolio { get; set; } public string BucketName { get; set; } public string DataType { get; set; } public