Browse Source

Merge pull request #23540 from abpframework/Identity-Repository-includeDetails

Set includeDetails default to false in repository methods
pull/23558/head
Engincan VESKE 6 months ago
committed by GitHub
parent
commit
8545f6b9f7
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 4
      modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/EfCoreIdentityRoleRepository.cs
  2. 2
      modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/EfCoreOrganizationUnitRepository.cs
  3. 2
      modules/identity/src/Volo.Abp.Identity.MongoDB/Volo/Abp/Identity/MongoDB/MongoIdentityRoleRepository.cs

4
modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/EfCoreIdentityRoleRepository.cs

@ -57,7 +57,7 @@ public class EfCoreIdentityRoleRepository : EfCoreRepository<IIdentityDbContext,
int maxResultCount = int.MaxValue,
int skipCount = 0,
string filter = null,
bool includeDetails = true,
bool includeDetails = false,
CancellationToken cancellationToken = default)
{
return await GetListInternalAsync(sorting , maxResultCount, skipCount, filter, includeDetails, cancellationToken);
@ -111,7 +111,7 @@ public class EfCoreIdentityRoleRepository : EfCoreRepository<IIdentityDbContext,
int maxResultCount = int.MaxValue,
int skipCount = 0,
string filter = null,
bool includeDetails = true,
bool includeDetails = false,
CancellationToken cancellationToken = default)
{
return await (await GetDbSetAsync())

2
modules/identity/src/Volo.Abp.Identity.EntityFrameworkCore/Volo/Abp/Identity/EntityFrameworkCore/EfCoreOrganizationUnitRepository.cs

@ -48,7 +48,7 @@ public class EfCoreOrganizationUnitRepository
string sorting = null,
int maxResultCount = int.MaxValue,
int skipCount = 0,
bool includeDetails = true,
bool includeDetails = false,
CancellationToken cancellationToken = default)
{
return await (await GetDbSetAsync())

2
modules/identity/src/Volo.Abp.Identity.MongoDB/Volo/Abp/Identity/MongoDB/MongoIdentityRoleRepository.cs

@ -117,7 +117,7 @@ public class MongoIdentityRoleRepository : MongoDbRepository<IAbpIdentityMongoDb
int maxResultCount = int.MaxValue,
int skipCount = 0,
string filter = null,
bool includeDetails = true,
bool includeDetails = false,
CancellationToken cancellationToken = default)
{
return await (await GetQueryableAsync(cancellationToken))

Loading…
Cancel
Save