Class EfCoreIdentityRoleRepository
Inheritance
EfCoreIdentityRoleRepository
Assembly: Volo.Abp.Identity.EntityFrameworkCore.dll
Syntax
public class EfCoreIdentityRoleRepository : EfCoreRepository<IIdentityDbContext, IdentityRole, Guid>, IServiceProviderAccessor, IUnitOfWorkEnabled, IUnitOfWorkManagerAccessor, IEfCoreRepository<IdentityRole, Guid>, IEfCoreRepository<IdentityRole>, IRepository<IdentityRole, Guid>, IRepository<IdentityRole>, IReadOnlyRepository<IdentityRole, Guid>, IReadOnlyRepository<IdentityRole>, IBasicRepository<IdentityRole, Guid>, ISupportsExplicitLoading<IdentityRole>, IIdentityRoleRepository, IBasicRepository<IdentityRole, Guid>, IBasicRepository<IdentityRole>, IReadOnlyBasicRepository<IdentityRole, Guid>, IReadOnlyBasicRepository<IdentityRole>, IRepository
Constructors
EfCoreIdentityRoleRepository(IDbContextProvider<IIdentityDbContext>)
Declaration
public EfCoreIdentityRoleRepository(IDbContextProvider<IIdentityDbContext> dbContextProvider)
Parameters
Methods
FindByNormalizedNameAsync(string, bool, CancellationToken)
Declaration
public virtual Task<IdentityRole> FindByNormalizedNameAsync(string normalizedRoleName, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Returns
GetCountAsync(string, CancellationToken)
Declaration
public virtual Task<long> GetCountAsync(string filter = null, CancellationToken cancellationToken = default)
Parameters
Returns
GetDefaultOnesAsync(bool, CancellationToken)
Declaration
public virtual Task<List<IdentityRole>> GetDefaultOnesAsync(bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Returns
GetListAsync(IEnumerable<Guid>, CancellationToken)
Declaration
public virtual Task<List<IdentityRole>> GetListAsync(IEnumerable<Guid> ids, CancellationToken cancellationToken = default)
Parameters
Returns
GetListAsync(string, int, int, string, bool, CancellationToken)
Declaration
public virtual Task<List<IdentityRole>> GetListAsync(string sorting = null, int maxResultCount = 2147483647, int skipCount = 0, string filter = null, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Returns
GetListInternalAsync(string, int, int, string, bool, CancellationToken)
Declaration
protected virtual Task<List<IdentityRole>> GetListInternalAsync(string sorting = null, int maxResultCount = 2147483647, int skipCount = 0, string filter = null, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Returns
GetListWithUserCountAsync(string, int, int, string, bool, CancellationToken)
Declaration
public virtual Task<List<IdentityRoleWithUserCount>> GetListWithUserCountAsync(string sorting = null, int maxResultCount = 2147483647, int skipCount = 0, string filter = null, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Returns
RemoveClaimFromAllRolesAsync(string, bool, CancellationToken)
Declaration
public virtual Task RemoveClaimFromAllRolesAsync(string claimType, bool autoSave = false, CancellationToken cancellationToken = default)
Parameters
Returns
WithDetails()
Declaration
[Obsolete("Use WithDetailsAsync")]
public override IQueryable<IdentityRole> WithDetails()
Returns
Overrides
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.Identity.EntityFrameworkCore.IIdentityDbContext, Volo.Abp.Identity.IdentityRole>.WithDetails()
WithDetailsAsync()
Declaration
public override Task<IQueryable<IdentityRole>> WithDetailsAsync()
Returns
Overrides
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.Identity.EntityFrameworkCore.IIdentityDbContext, Volo.Abp.Identity.IdentityRole>.WithDetailsAsync()
Implements
Extension Methods