This commit is contained in:
David Lebée 2018-04-17 21:43:56 -05:00
commit 3f0aeaa441

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.