From 08fc18b4aa957e0e0898e46ef14de7db5839cdb5 Mon Sep 17 00:00:00 2001 From: dlebee <36390643+dlebee@users.noreply.github.com> Date: Wed, 14 Mar 2018 19:51:31 -0500 Subject: [PATCH] Update README.md --- README.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/README.md b/README.md index 6723133..ce1e9f7 100644 --- a/README.md +++ b/README.md @@ -39,6 +39,22 @@ You may visit this test for more examples: https://github.com/PoweredSoft/Dynami query.Where("FirstName", ConditionOperators.Equal, "David"); ``` +### Grouping Support +```csharp +TestData.Sales + .AsQueryable() + .GroupBy(t => t.Path("ClientId")) + .Select(t => + { + t.Key("TheClientId", "ClientId"); + t.Count("Count"); + t.LongCount("LongCount"); + t.Sum("NetSales"); + t.Average("Tax", "TaxAverage"); + t.ToList("Sales"); + }); +``` + ### In Support You can filter with a list, this will generate a contains with your list. ```csharp