Show / Hide Table of Contents

Class MongoIdentityRoleRepository

Inheritance
object
BasicRepositoryBase<IdentityRole>
RepositoryBase<IdentityRole>
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole, Guid>
MongoIdentityRoleRepository
Implements
IServiceProviderAccessor
IUnitOfWorkEnabled
IUnitOfWorkManagerAccessor
IMongoDbRepository<IdentityRole, Guid>
IMongoDbRepository<IdentityRole>
IRepository<IdentityRole, Guid>
IRepository<IdentityRole>
IReadOnlyRepository<IdentityRole, Guid>
IReadOnlyRepository<IdentityRole>
IBasicRepository<IdentityRole, Guid>
IIdentityRoleRepository
IBasicRepository<IdentityRole, Guid>
IBasicRepository<IdentityRole>
IReadOnlyBasicRepository<IdentityRole, Guid>
IReadOnlyBasicRepository<IdentityRole>
IRepository
Inherited Members
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole, Guid>.GetAsync(Guid, bool, CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole, Guid>.FindAsync(Guid, bool, CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole, Guid>.DeleteAsync(Guid, bool, CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole, Guid>.DeleteManyAsync(IEnumerable<Guid>, bool, CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole, Guid>.ApplyDataFilters<TQueryable, TOtherEntity>(TQueryable)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole, Guid>.CreateEntityFilterAsync(IdentityRole, bool, string)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole, Guid>.CreateEntitiesFilterAsync(IEnumerable<IdentityRole>, bool)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole, Guid>.RepositoryFiltererWithKey
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.GetCollectionAsync(CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.GetDatabaseAsync(CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.GetSessionHandleAsync(CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.GetDbContextAsync(CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.InsertAsync(IdentityRole, bool, CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.InsertManyAsync(IEnumerable<IdentityRole>, bool, CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.UpdateAsync(IdentityRole, bool, CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.UpdateManyAsync(IEnumerable<IdentityRole>, bool, CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.DeleteAsync(IdentityRole, bool, CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.DeleteManyAsync(IEnumerable<IdentityRole>, bool, CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.GetListAsync(bool, CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.GetListAsync(Expression<Func<IdentityRole, bool>>, bool, CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.GetCountAsync(CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.GetPagedListAsync(int, int, string, bool, CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.DeleteAsync(Expression<Func<IdentityRole, bool>>, bool, CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.DeleteDirectAsync(Expression<Func<IdentityRole, bool>>, CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.GetQueryable()
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.GetQueryableAsync()
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.FindAsync(Expression<Func<IdentityRole, bool>>, bool, CancellationToken)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.GetMongoQueryable()
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.GetMongoQueryableAsync(CancellationToken, AggregateOptions)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.GetMongoQueryableAsync<TOtherEntity>(CancellationToken, AggregateOptions)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.GetAggregateAsync(CancellationToken, AggregateOptions)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.IsHardDeleted(IdentityRole)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.CreateEntityFilterAsync(IdentityRole, bool, string)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.CreateEntitiesFilterAsync(IEnumerable<IdentityRole>, bool)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.ApplyAbpConceptsForAddedEntityAsync(IdentityRole)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.TriggerEntityCreateEvents(IdentityRole)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.TriggerEntityUpdateEvents(IdentityRole)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.ApplyAbpConceptsForDeletedEntity(IdentityRole)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.TriggerEntityDeleteEvents(IdentityRole)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.CheckAndSetId(IdentityRole)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.TrySetGuidId(IEntity<Guid>)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.SetCreationAuditProperties(IdentityRole)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.SetModificationAuditProperties(IdentityRole)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.SetDeletionAuditProperties(IdentityRole)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.IncrementEntityVersionProperty(IdentityRole)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.TriggerDomainEvents(object)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.SetNewConcurrencyStamp(IdentityRole)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.ThrowOptimisticConcurrencyException()
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.ApplyDataFilters<TQueryable, TOtherEntity>(TQueryable)
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.Collection
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.Database
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.SessionHandle
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.DbContext
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.DbContextProvider
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.LocalEventBus
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.DistributedEventBus
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.EntityChangeEventHelper
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.GuidGenerator
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.AuditPropertySetter
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.BulkOperationProvider
MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole>.RepositoryFilterer
RepositoryBase<IdentityRole>.WithDetails()
RepositoryBase<IdentityRole>.WithDetails(params Expression<Func<IdentityRole, object>>[])
RepositoryBase<IdentityRole>.WithDetailsAsync()
RepositoryBase<IdentityRole>.WithDetailsAsync(params Expression<Func<IdentityRole, object>>[])
RepositoryBase<IdentityRole>.GetQueryable()
RepositoryBase<IdentityRole>.GetQueryableAsync()
RepositoryBase<IdentityRole>.FindAsync(Expression<Func<IdentityRole, bool>>, bool, CancellationToken)
RepositoryBase<IdentityRole>.GetAsync(Expression<Func<IdentityRole, bool>>, bool, CancellationToken)
RepositoryBase<IdentityRole>.DeleteAsync(Expression<Func<IdentityRole, bool>>, bool, CancellationToken)
RepositoryBase<IdentityRole>.DeleteDirectAsync(Expression<Func<IdentityRole, bool>>, CancellationToken)
RepositoryBase<IdentityRole>.ApplyDataFilters<TQueryable>(TQueryable)
RepositoryBase<IdentityRole>.ApplyDataFilters<TQueryable, TOtherEntity>(TQueryable)
BasicRepositoryBase<IdentityRole>.InsertAsync(IdentityRole, bool, CancellationToken)
BasicRepositoryBase<IdentityRole>.InsertManyAsync(IEnumerable<IdentityRole>, bool, CancellationToken)
BasicRepositoryBase<IdentityRole>.SaveChangesAsync(CancellationToken)
BasicRepositoryBase<IdentityRole>.UpdateAsync(IdentityRole, bool, CancellationToken)
BasicRepositoryBase<IdentityRole>.UpdateManyAsync(IEnumerable<IdentityRole>, bool, CancellationToken)
BasicRepositoryBase<IdentityRole>.DeleteAsync(IdentityRole, bool, CancellationToken)
BasicRepositoryBase<IdentityRole>.DeleteManyAsync(IEnumerable<IdentityRole>, bool, CancellationToken)
BasicRepositoryBase<IdentityRole>.GetListAsync(bool, CancellationToken)
BasicRepositoryBase<IdentityRole>.GetListAsync(Expression<Func<IdentityRole, bool>>, bool, CancellationToken)
BasicRepositoryBase<IdentityRole>.GetCountAsync(CancellationToken)
BasicRepositoryBase<IdentityRole>.GetPagedListAsync(int, int, string, bool, CancellationToken)
BasicRepositoryBase<IdentityRole>.GetCancellationToken(CancellationToken)
BasicRepositoryBase<IdentityRole>.ShouldTrackingEntityChange()
BasicRepositoryBase<IdentityRole>.LazyServiceProvider
BasicRepositoryBase<IdentityRole>.ServiceProvider
BasicRepositoryBase<IdentityRole>.DataFilter
BasicRepositoryBase<IdentityRole>.CurrentTenant
BasicRepositoryBase<IdentityRole>.AsyncExecuter
BasicRepositoryBase<IdentityRole>.UnitOfWorkManager
BasicRepositoryBase<IdentityRole>.CancellationTokenProvider
BasicRepositoryBase<IdentityRole>.LoggerFactory
BasicRepositoryBase<IdentityRole>.Logger
BasicRepositoryBase<IdentityRole>.EntityChangeTrackingProvider
BasicRepositoryBase<IdentityRole>.IsChangeTrackingEnabled
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.Identity.MongoDB
Assembly: Volo.Abp.Identity.MongoDB.dll
Syntax
public class MongoIdentityRoleRepository : MongoDbRepository<IAbpIdentityMongoDbContext, IdentityRole, Guid>, IServiceProviderAccessor, IUnitOfWorkEnabled, IUnitOfWorkManagerAccessor, IMongoDbRepository<IdentityRole, Guid>, IMongoDbRepository<IdentityRole>, IRepository<IdentityRole, Guid>, IRepository<IdentityRole>, IReadOnlyRepository<IdentityRole, Guid>, IReadOnlyRepository<IdentityRole>, IBasicRepository<IdentityRole, Guid>, IIdentityRoleRepository, IBasicRepository<IdentityRole, Guid>, IBasicRepository<IdentityRole>, IReadOnlyBasicRepository<IdentityRole, Guid>, IReadOnlyBasicRepository<IdentityRole>, IRepository

Constructors

MongoIdentityRoleRepository(IMongoDbContextProvider<IAbpIdentityMongoDbContext>)

Declaration
public MongoIdentityRoleRepository(IMongoDbContextProvider<IAbpIdentityMongoDbContext> dbContextProvider)
Parameters
Type Name Description
IMongoDbContextProvider<IAbpIdentityMongoDbContext> dbContextProvider

Methods

FindByNormalizedNameAsync(string, bool, CancellationToken)

Declaration
public virtual 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
public virtual 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
public virtual 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
public virtual 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
public virtual 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>>

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
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
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
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
public virtual Task RemoveClaimFromAllRolesAsync(string claimType, bool autoSave = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string claimType
bool autoSave
CancellationToken cancellationToken
Returns
Type Description
Task

Implements

IServiceProviderAccessor
IUnitOfWorkEnabled
IUnitOfWorkManagerAccessor
IMongoDbRepository<TEntity, TKey>
IMongoDbRepository<TEntity>
IRepository<TEntity, TKey>
IRepository<TEntity>
IReadOnlyRepository<TEntity, TKey>
IReadOnlyRepository<TEntity>
IBasicRepository<TEntity, TKey>
IIdentityRoleRepository
IBasicRepository<TEntity, TKey>
IBasicRepository<TEntity>
IReadOnlyBasicRepository<TEntity, TKey>
IReadOnlyBasicRepository<TEntity>
IRepository

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