From 0d07173e6089647f10fd64cb18346074f396b210 Mon Sep 17 00:00:00 2001 From: dlebee <36390643+dlebee@users.noreply.github.com> Date: Wed, 28 Feb 2018 22:30:02 -0600 Subject: [PATCH] Update README.md --- README.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/README.md b/README.md index cdff3eb..b4889f6 100644 --- a/README.md +++ b/README.md @@ -20,6 +20,13 @@ query = query.Query(q => }); ``` +### Shortcuts +Shortcuts allow to avoid specifying the condition operator by having it handy in the method name +```csharp +queryable.Query(t => t.Contains("FirstName", "Dav").OrContains("FirstName", "Jo")); +``` +You may visit this test for more examples: https://github.com/PoweredSoft/DynamicLinq/blob/master/PoweredSoft.DynamicLinq.Test/ShortcutTests.cs + ### Simple Query ```csharp query.Where("FirstName", ConditionOperators.Equal, "David");