trying.
This commit is contained in:
parent
0fa0a37689
commit
249a6ce18c
10
README.md
10
README.md
@ -16,18 +16,18 @@ query = query.Query(q =>
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
#Simple Query
|
### Simple Query
|
||||||
```csharp
|
```csharp
|
||||||
query.Where("FirstName", ConditionOperators.Equal, "David");
|
query.Where("FirstName", ConditionOperators.Equal, "David");
|
||||||
```
|
```
|
||||||
|
|
||||||
#Simple Sorting
|
### Simple Sorting
|
||||||
```csharp
|
```csharp
|
||||||
query = query.OrderByDescending("AuthorId");
|
query = query.OrderByDescending("AuthorId");
|
||||||
query = query.ThenBy("Id");
|
query = query.ThenBy("Id");
|
||||||
```
|
```
|
||||||
|
|
||||||
#Collection Filtering
|
### Collection Filtering
|
||||||
You don't have to Worry about it.
|
You don't have to Worry about it.
|
||||||
The libary will do it for you.
|
The libary will do it for you.
|
||||||
```csharp
|
```csharp
|
||||||
@ -40,7 +40,7 @@ query = query.Query(qb =>
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
#Null Checking automaticly (practical for in memory dynamic queries)
|
### Null Checking automaticly (practical for in memory dynamic queries)
|
||||||
```csharp
|
```csharp
|
||||||
var query = authors.AsQueryable();
|
var query = authors.AsQueryable();
|
||||||
query = query.Query(qb =>
|
query = query.Query(qb =>
|
||||||
@ -50,7 +50,7 @@ query = query.Query(qb =>
|
|||||||
});
|
});
|
||||||
```
|
```
|
||||||
|
|
||||||
#Using Query Builder
|
### Using Query Builder
|
||||||
```csharp
|
```csharp
|
||||||
// subject.
|
// subject.
|
||||||
var posts = new List<Post>()
|
var posts = new List<Post>()
|
||||||
|
Loading…
Reference in New Issue
Block a user