Browse Source

Merge pull request #16827 from abpframework/auto-merge/rel-7-2/1993

Merge branch rel-7.3 with rel-7.2
pull/16828/head
Halil İbrahim Kalkan 3 years ago
committed by GitHub
parent
commit
0b9b561abd
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      docs/en/Repositories.md

6
docs/en/Repositories.md

@ -140,9 +140,9 @@ public async Task<List<PersonDto>> GetListAsync(string filter)
Any standard LINQ method can be used over the `IQueryable` returned from the repository.
> This sample uses `ToList()` method, but it is **strongly suggested to use the asynchronous methods** to perform database queries, like `ToListAsync()` for this example.
>
> See the **IQueryable & Async Operations** section to learn how you can do it.
> This sample uses `ToList()` method, but it is **strongly suggested to use the asynchronous methods** to perform database queries, like `ToListAsync()` for this example. See the **`IQueryable` & Async Operations** section to learn how you can do it.
> **Exposing `IQueryable` to outside of a repository** class may leak your data access logic to the application layer. If you want to strictly follow the **layered architecture** principles, you can consider to implement a custom repository class and wrap your data access logic inside your repository class. You can see the ***Custom Repositories*** section to learn how to create custom repository classes for your application.
### Bulk Operations

Loading…
Cancel
Save