Show / Hide Table of Contents

Interface IIdentityResourceRepository

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

Methods

CheckNameExistAsync(string, Guid?, CancellationToken)

Declaration
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
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
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
Task<List<IdentityResource>> GetListAsync(string sorting, int skipCount, int maxResultCount, string filter = null, 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
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>>

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