From 244d8ef0b9d832e95c21339922285976913d5d9e Mon Sep 17 00:00:00 2001 From: dlebee <36390643+dlebee@users.noreply.github.com> Date: Sat, 14 Apr 2018 23:41:22 -0500 Subject: [PATCH] Update README.md --- README.md | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index f2bf950..b0680a0 100644 --- a/README.md +++ b/README.md @@ -66,7 +66,19 @@ TestSales TaxAverage = t.Average(t2 => t2.Tax), 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 You can filter with a list, this will generate a contains with your list.