Browse Source

Merge pull request #6643 from GerryGe/GerryGe-patch-1

Update Part-7.md
pull/6649/head
liangshiwei 6 years ago
committed by GitHub
parent
commit
43fd933c58
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      docs/en/Tutorials/Part-7.md

6
docs/en/Tutorials/Part-7.md

@ -150,7 +150,7 @@ namespace Acme.BookStore.Authors
}
````
* Inherited from the `EfCoreAuthorRepository`, so it inherits the standard repository method implementations.
* Inherited from the `EfCoreRepository`, so it inherits the standard repository method implementations.
* `WhereIf` is a shortcut extension method of the ABP Framework. It adds the `Where` condition only if the first condition meets (it filters by name, only if the filter was provided). You could do the same yourself, but these type of shortcut methods makes our life easier.
* `sorting` can be a string like `Name`, `Name ASC` or `Name DESC`. It is possible by using the [System.Linq.Dynamic.Core](https://www.nuget.org/packages/System.Linq.Dynamic.Core) NuGet package.
@ -211,7 +211,7 @@ namespace Acme.BookStore.Authors
}
```
* Inherited from the `MongoDbAuthorRepository`, so it inherits the standard repository method implementations.
* Inherited from the `MongoDbRepository`, so it inherits the standard repository method implementations.
* `WhereIf` is a shortcut extension method of the ABP Framework. It adds the `Where` condition only if the first condition meets (it filters by name, only if the filter was provided). You could do the same yourself, but these type of shortcut methods makes our life easier.
* `sorting` can be a string like `Name`, `Name ASC` or `Name DESC`. It is possible by using the [System.Linq.Dynamic.Core](https://www.nuget.org/packages/System.Linq.Dynamic.Core) NuGet package.
@ -221,4 +221,4 @@ namespace Acme.BookStore.Authors
## The Next Part
See the [next part](Part-8.md) of this tutorial.
See the [next part](Part-8.md) of this tutorial.

Loading…
Cancel
Save