Class EfCoreIdentityRoleRepository
Inheritance
System.Object
EfCoreIdentityRoleRepository
Assembly: Volo.Abp.Identity.EntityFrameworkCore.dll
Syntax
public class EfCoreIdentityRoleRepository : EfCoreRepository<IIdentityDbContext, IdentityRole, Guid>, IIdentityRoleRepository, IBasicRepository<IdentityRole, Guid>
Constructors
EfCoreIdentityRoleRepository(IDbContextProvider<IIdentityDbContext>)
Declaration
public EfCoreIdentityRoleRepository(IDbContextProvider<IIdentityDbContext> dbContextProvider)
Parameters
Methods
FindByNormalizedNameAsync(String, Boolean, CancellationToken)
Declaration
public virtual Task<IdentityRole> FindByNormalizedNameAsync(string normalizedRoleName, bool includeDetails = true, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
System.String |
normalizedRoleName |
|
System.Boolean |
includeDetails |
|
CancellationToken |
cancellationToken |
|
Returns
GetCountAsync(String, CancellationToken)
Declaration
public Task<long> GetCountAsync(string filter = null, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
System.String |
filter |
|
CancellationToken |
cancellationToken |
|
Returns
Type |
Description |
Task<System.Int64> |
|
GetDefaultOnesAsync(Boolean, CancellationToken)
Declaration
public virtual Task<List<IdentityRole>> GetDefaultOnesAsync(bool includeDetails = false, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
System.Boolean |
includeDetails |
|
CancellationToken |
cancellationToken |
|
Returns
GetListAsync(IEnumerable<Guid>, CancellationToken)
Declaration
public virtual Task<List<IdentityRole>> GetListAsync(IEnumerable<Guid> ids, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
IEnumerable<Guid> |
ids |
|
CancellationToken |
cancellationToken |
|
Returns
GetListAsync(String, Int32, Int32, String, Boolean, CancellationToken)
Declaration
public virtual Task<List<IdentityRole>> GetListAsync(string sorting = null, int maxResultCount = null, int skipCount = 0, string filter = null, bool includeDetails = true, CancellationToken cancellationToken = null)
Parameters
Type |
Name |
Description |
System.String |
sorting |
|
System.Int32 |
maxResultCount |
|
System.Int32 |
skipCount |
|
System.String |
filter |
|
System.Boolean |
includeDetails |
|
CancellationToken |
cancellationToken |
|
Returns
WithDetails()
Declaration
public override IQueryable<IdentityRole> WithDetails()
Returns
Implements
Extension Methods