Update README.md

This commit is contained in:
dlebee 2018-02-28 22:30:02 -06:00 committed by GitHub
parent 49acab93cf
commit 0d07173e60
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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");