Update README.md

This commit is contained in:
dlebee 2018-03-14 19:51:31 -05:00 committed by GitHub
parent ed88de7c02
commit 08fc18b4aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,6 +39,22 @@ You may visit this test for more examples: https://github.com/PoweredSoft/Dynami
query.Where("FirstName", ConditionOperators.Equal, "David"); 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 ### In Support
You can filter with a list, this will generate a contains with your list. You can filter with a list, this will generate a contains with your list.
```csharp ```csharp