Show / Hide Table of Contents

Class IdentityResourceRepository

Inheritance
object
BasicRepositoryBase<IdentityResource>
RepositoryBase<IdentityResource>
EfCoreRepository<IIdentityServerDbContext, IdentityResource>
EfCoreRepository<IIdentityServerDbContext, IdentityResource, Guid>
IdentityResourceRepository
Implements
IServiceProviderAccessor
IUnitOfWorkEnabled
IUnitOfWorkManagerAccessor
IEfCoreRepository<IdentityResource, Guid>
IEfCoreRepository<IdentityResource>
IRepository<IdentityResource, Guid>
IRepository<IdentityResource>
IReadOnlyRepository<IdentityResource, Guid>
IReadOnlyRepository<IdentityResource>
IBasicRepository<IdentityResource, Guid>
ISupportsExplicitLoading<IdentityResource>
IIdentityResourceRepository
IBasicRepository<IdentityResource, Guid>
IBasicRepository<IdentityResource>
IReadOnlyBasicRepository<IdentityResource, Guid>
IReadOnlyBasicRepository<IdentityResource>
IRepository
Inherited Members
EfCoreRepository<IIdentityServerDbContext, IdentityResource, Guid>.GetAsync(Guid, bool, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource, Guid>.FindAsync(Guid, bool, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource, Guid>.DeleteAsync(Guid, bool, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource, Guid>.DeleteManyAsync(IEnumerable<Guid>, bool, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.GetDbContextAsync()
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.GetDbSetAsync()
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.GetDbConnectionAsync()
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.GetDbTransactionAsync()
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.InsertAsync(IdentityResource, bool, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.InsertManyAsync(IEnumerable<IdentityResource>, bool, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.UpdateAsync(IdentityResource, bool, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.UpdateManyAsync(IEnumerable<IdentityResource>, bool, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.DeleteAsync(IdentityResource, bool, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.DeleteManyAsync(IEnumerable<IdentityResource>, bool, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.GetListAsync(bool, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.GetListAsync(Expression<Func<IdentityResource, bool>>, bool, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.GetCountAsync(CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.GetPagedListAsync(int, int, string, bool, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.GetQueryable()
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.GetQueryableAsync()
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.SaveChangesAsync(CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.FindAsync(Expression<Func<IdentityResource, bool>>, bool, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.DeleteAsync(Expression<Func<IdentityResource, bool>>, bool, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.DeleteDirectAsync(Expression<Func<IdentityResource, bool>>, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.EnsureCollectionLoadedAsync<TProperty>(IdentityResource, Expression<Func<IdentityResource, IEnumerable<TProperty>>>, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.EnsurePropertyLoadedAsync<TProperty>(IdentityResource, Expression<Func<IdentityResource, TProperty>>, CancellationToken)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.WithDetails()
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.WithDetailsAsync()
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.WithDetails(params Expression<Func<IdentityResource, object>>[])
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.WithDetailsAsync(params Expression<Func<IdentityResource, object>>[])
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.CheckAndSetId(IdentityResource)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.TrySetGuidId(IEntity<Guid>)
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.DbContext
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.DbSet
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.AbpEntityOptions
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.GuidGenerator
EfCoreRepository<IIdentityServerDbContext, IdentityResource>.BulkOperationProvider
RepositoryBase<IdentityResource>.WithDetails(params Expression<Func<IdentityResource, object>>[])
RepositoryBase<IdentityResource>.WithDetailsAsync(params Expression<Func<IdentityResource, object>>[])
RepositoryBase<IdentityResource>.GetQueryable()
RepositoryBase<IdentityResource>.GetQueryableAsync()
RepositoryBase<IdentityResource>.FindAsync(Expression<Func<IdentityResource, bool>>, bool, CancellationToken)
RepositoryBase<IdentityResource>.GetAsync(Expression<Func<IdentityResource, bool>>, bool, CancellationToken)
RepositoryBase<IdentityResource>.DeleteAsync(Expression<Func<IdentityResource, bool>>, bool, CancellationToken)
RepositoryBase<IdentityResource>.DeleteDirectAsync(Expression<Func<IdentityResource, bool>>, CancellationToken)
RepositoryBase<IdentityResource>.ApplyDataFilters<TQueryable>(TQueryable)
RepositoryBase<IdentityResource>.ApplyDataFilters<TQueryable, TOtherEntity>(TQueryable)
BasicRepositoryBase<IdentityResource>.InsertAsync(IdentityResource, bool, CancellationToken)
BasicRepositoryBase<IdentityResource>.InsertManyAsync(IEnumerable<IdentityResource>, bool, CancellationToken)
BasicRepositoryBase<IdentityResource>.SaveChangesAsync(CancellationToken)
BasicRepositoryBase<IdentityResource>.UpdateAsync(IdentityResource, bool, CancellationToken)
BasicRepositoryBase<IdentityResource>.UpdateManyAsync(IEnumerable<IdentityResource>, bool, CancellationToken)
BasicRepositoryBase<IdentityResource>.DeleteAsync(IdentityResource, bool, CancellationToken)
BasicRepositoryBase<IdentityResource>.DeleteManyAsync(IEnumerable<IdentityResource>, bool, CancellationToken)
BasicRepositoryBase<IdentityResource>.GetListAsync(bool, CancellationToken)
BasicRepositoryBase<IdentityResource>.GetListAsync(Expression<Func<IdentityResource, bool>>, bool, CancellationToken)
BasicRepositoryBase<IdentityResource>.GetCountAsync(CancellationToken)
BasicRepositoryBase<IdentityResource>.GetPagedListAsync(int, int, string, bool, CancellationToken)
BasicRepositoryBase<IdentityResource>.GetCancellationToken(CancellationToken)
BasicRepositoryBase<IdentityResource>.ShouldTrackingEntityChange()
BasicRepositoryBase<IdentityResource>.LazyServiceProvider
BasicRepositoryBase<IdentityResource>.ServiceProvider
BasicRepositoryBase<IdentityResource>.DataFilter
BasicRepositoryBase<IdentityResource>.CurrentTenant
BasicRepositoryBase<IdentityResource>.AsyncExecuter
BasicRepositoryBase<IdentityResource>.UnitOfWorkManager
BasicRepositoryBase<IdentityResource>.CancellationTokenProvider
BasicRepositoryBase<IdentityResource>.LoggerFactory
BasicRepositoryBase<IdentityResource>.Logger
BasicRepositoryBase<IdentityResource>.EntityChangeTrackingProvider
BasicRepositoryBase<IdentityResource>.IsChangeTrackingEnabled
object.GetType()
object.MemberwiseClone()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Volo.Abp.IdentityServer.IdentityResources
Assembly: Volo.Abp.IdentityServer.EntityFrameworkCore.dll
Syntax
public class IdentityResourceRepository : EfCoreRepository<IIdentityServerDbContext, IdentityResource, Guid>, IServiceProviderAccessor, IUnitOfWorkEnabled, IUnitOfWorkManagerAccessor, IEfCoreRepository<IdentityResource, Guid>, IEfCoreRepository<IdentityResource>, IRepository<IdentityResource, Guid>, IRepository<IdentityResource>, IReadOnlyRepository<IdentityResource, Guid>, IReadOnlyRepository<IdentityResource>, IBasicRepository<IdentityResource, Guid>, ISupportsExplicitLoading<IdentityResource>, IIdentityResourceRepository, IBasicRepository<IdentityResource, Guid>, IBasicRepository<IdentityResource>, IReadOnlyBasicRepository<IdentityResource, Guid>, IReadOnlyBasicRepository<IdentityResource>, IRepository

Constructors

IdentityResourceRepository(IDbContextProvider<IIdentityServerDbContext>)

Declaration
public IdentityResourceRepository(IDbContextProvider<IIdentityServerDbContext> dbContextProvider)
Parameters
Type Name Description
IDbContextProvider<IIdentityServerDbContext> dbContextProvider

Methods

CheckNameExistAsync(string, Guid?, CancellationToken)

Declaration
public virtual Task<bool> CheckNameExistAsync(string name, Guid? expectedId = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string name
Guid? expectedId
CancellationToken cancellationToken
Returns
Type Description
Task<bool>

FindByNameAsync(string, bool, CancellationToken)

Declaration
public virtual Task<IdentityResource> FindByNameAsync(string name, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string name
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<IdentityResource>

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>

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

Declaration
public virtual Task<List<IdentityResource>> GetListAsync(string sorting, int skipCount, int maxResultCount, string filter, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string sorting
int skipCount
int maxResultCount
string filter
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentityResource>>

GetListByScopeNameAsync(string[], bool, CancellationToken)

Declaration
public virtual Task<List<IdentityResource>> GetListByScopeNameAsync(string[] scopeNames, bool includeDetails = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string[] scopeNames
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<List<IdentityResource>>

WithDetails()

Declaration
[Obsolete("Use WithDetailsAsync method.")]
public override IQueryable<IdentityResource> WithDetails()
Returns
Type Description
IQueryable<IdentityResource>
Overrides
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.IdentityServer.EntityFrameworkCore.IIdentityServerDbContext, Volo.Abp.IdentityServer.IdentityResources.IdentityResource>.WithDetails()

WithDetailsAsync()

Declaration
public override Task<IQueryable<IdentityResource>> WithDetailsAsync()
Returns
Type Description
Task<IQueryable<IdentityResource>>
Overrides
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.IdentityServer.EntityFrameworkCore.IIdentityServerDbContext, Volo.Abp.IdentityServer.IdentityResources.IdentityResource>.WithDetailsAsync()

Implements

IServiceProviderAccessor
IUnitOfWorkEnabled
IUnitOfWorkManagerAccessor
IEfCoreRepository<TEntity, TKey>
IEfCoreRepository<TEntity>
IRepository<TEntity, TKey>
IRepository<TEntity>
IReadOnlyRepository<TEntity, TKey>
IReadOnlyRepository<TEntity>
IBasicRepository<TEntity, TKey>
ISupportsExplicitLoading<TEntity>
IIdentityResourceRepository
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