Show / Hide Table of Contents

Interface IIdentityRoleRepository

Inherited Members
IBasicRepository<IdentityRole, Guid>.DeleteAsync(Guid, bool, CancellationToken)
IBasicRepository<IdentityRole, Guid>.DeleteManyAsync(IEnumerable<Guid>, bool, CancellationToken)
IBasicRepository<IdentityRole>.InsertAsync(IdentityRole, bool, CancellationToken)
IBasicRepository<IdentityRole>.InsertManyAsync(IEnumerable<IdentityRole>, bool, CancellationToken)
IBasicRepository<IdentityRole>.UpdateAsync(IdentityRole, bool, CancellationToken)
IBasicRepository<IdentityRole>.UpdateManyAsync(IEnumerable<IdentityRole>, bool, CancellationToken)
IBasicRepository<IdentityRole>.DeleteAsync(IdentityRole, bool, CancellationToken)
IBasicRepository<IdentityRole>.DeleteManyAsync(IEnumerable<IdentityRole>, bool, CancellationToken)
IReadOnlyBasicRepository<IdentityRole, Guid>.GetAsync(Guid, bool, CancellationToken)
IReadOnlyBasicRepository<IdentityRole, Guid>.FindAsync(Guid, bool, CancellationToken)
IReadOnlyBasicRepository<IdentityRole>.GetListAsync(bool, CancellationToken)
IReadOnlyBasicRepository<IdentityRole>.GetCountAsync(CancellationToken)
IReadOnlyBasicRepository<IdentityRole>.GetPagedListAsync(int, int, string, bool, CancellationToken)
IRepository.IsChangeTrackingEnabled
Namespace: Volo.Abp.Identity
Assembly: Volo.Abp.Identity.Domain.dll
Syntax
public interface IIdentityRoleRepository : IBasicRepository<IdentityRole, Guid>, IBasicRepository<IdentityRole>, IReadOnlyBasicRepository<IdentityRole, Guid>, IReadOnlyBasicRepository<IdentityRole>, IRepository

Methods

FindByNormalizedNameAsync(string, bool, CancellationToken)

Declaration
Task<IdentityRole> FindByNormalizedNameAsync(string normalizedRoleName, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string normalizedRoleName
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<IdentityRole>

GetCountAsync(string, CancellationToken)

Declaration
Task<long> GetCountAsync(string filter = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string filter
CancellationToken cancellationToken
Returns
Type Description
Task<long>

GetDefaultOnesAsync(bool, CancellationToken)

Declaration
Task<List<IdentityRole>> GetDefaultOnesAsync(bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentityRole>>

GetListAsync(IEnumerable<Guid>, CancellationToken)

Declaration
Task<List<IdentityRole>> GetListAsync(IEnumerable<Guid> ids, CancellationToken cancellationToken = default)
Parameters
Type Name Description
IEnumerable<Guid> ids
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentityRole>>

GetListAsync(string, int, int, string, bool, CancellationToken)

Declaration
Task<List<IdentityRole>> GetListAsync(string sorting = null, int maxResultCount = 2147483647, int skipCount = 0, string filter = null, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string sorting
int maxResultCount
int skipCount
string filter
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentityRole>>

GetListWithUserCountAsync(string, int, int, string, bool, CancellationToken)

Declaration
Task<List<IdentityRoleWithUserCount>> GetListWithUserCountAsync(string sorting = null, int maxResultCount = 2147483647, int skipCount = 0, string filter = null, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string sorting
int maxResultCount
int skipCount
string filter
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentityRoleWithUserCount>>

RemoveClaimFromAllRolesAsync(string, bool, CancellationToken)

Declaration
Task RemoveClaimFromAllRolesAsync(string claimType, bool autoSave = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string claimType
bool autoSave
CancellationToken cancellationToken
Returns
Type Description
Task

Extension Methods

AbpObjectExtensions.As<T>(object)
AbpObjectExtensions.To<T>(object)
LockExtensions.Locking(object, Action)
LockExtensions.Locking<TResult>(object, Func<TResult>)
AbpObjectExtensions.If<T>(T, bool, Action<T>)
AbpObjectExtensions.If<T>(T, bool, Func<T, T>)
AbpObjectExtensions.IsIn<T>(T, IEnumerable<T>)
AbpObjectExtensions.IsIn<T>(T, params T[])
AbpQueryableExtensions.OrderByIf<T, TQueryable>(TQueryable, bool, string)
AbpQueryableExtensions.PageBy<T, TQueryable>(TQueryable, int, int)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, bool>>)
AbpQueryableExtensions.WhereIf<T, TQueryable>(TQueryable, bool, Expression<Func<T, int, bool>>)
AbpOpenIddictQueryableExtensions.SkipIf<T, TQueryable>(TQueryable, bool, int?)
AbpOpenIddictQueryableExtensions.TakeIf<T, TQueryable>(TQueryable, bool, int?)
LockExtensions.Locking<T>(T, Action<T>)
LockExtensions.Locking<T, TResult>(T, Func<T, TResult>)
In this article
Back to top Powered by ABP.IO Platform