Update README.md

This commit is contained in:
dlebee 2018-04-14 23:41:22 -05:00 committed by GitHub
parent 118f7c30f8
commit 244d8ef0b9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -66,7 +66,19 @@ TestSales
TaxAverage = t.Average(t2 => t2.Tax), TaxAverage = t.Average(t2 => t2.Tax),
Sales = t.ToList() Sales = t.ToList()
}); });
``` ```
### Select
```csharp
var querySelect = query.Select(t =>
{
t.NullChecking(true); // not obligated but usefull for in memory queries.
t.PathToList("Posts.Comments.CommentLikes", selectCollectionHandling: SelectCollectionHandling.Flatten);
t.Path("FirstName");
t.Path("LastName", "ChangePropertyNameOfLastName");
});
```
### 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.