Browse Source

Update docs/en/framework/architecture/best-practices/mongodb-integration.md

Co-authored-by: Halil İbrahim Kalkan <hi_kalkan@yahoo.com>
pull/21807/head^2
maliming 1 year ago
committed by GitHub
parent
commit
c12b60b236
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 2
      docs/en/framework/architecture/best-practices/mongodb-integration.md

2
docs/en/framework/architecture/best-practices/mongodb-integration.md

@ -128,7 +128,7 @@ public async Task<IdentityUser> FindByNormalizedUserNameAsync(
* **Do** use the `GetQueryableAsync()` method to obtain an `IQueryable<TEntity>` to perform queries wherever possible. Because;
* `GetQueryableAsync()` method automatically uses the `ApplyDataFilters` method to filter the data based on the current data filters (like soft delete and multi-tenancy).
* Using `IQueryable<TEntity>` makes the code as much as similar to the EF Core repository implementation and easy to write and read.
* **Do** implement data filtering if it is not possible to use the `GetQueryable()` method.
* **Do** implement data filtering if it is not possible to use the `GetQueryableAsync()` method.
## Module Class

Loading…
Cancel
Save