Show / Hide Table of Contents

Interface IApiScopeRepository

Inherited Members
IBasicRepository<ApiScope, Guid>.DeleteAsync(Guid, bool, CancellationToken)
IBasicRepository<ApiScope, Guid>.DeleteManyAsync(IEnumerable<Guid>, bool, CancellationToken)
IBasicRepository<ApiScope>.InsertAsync(ApiScope, bool, CancellationToken)
IBasicRepository<ApiScope>.InsertManyAsync(IEnumerable<ApiScope>, bool, CancellationToken)
IBasicRepository<ApiScope>.UpdateAsync(ApiScope, bool, CancellationToken)
IBasicRepository<ApiScope>.UpdateManyAsync(IEnumerable<ApiScope>, bool, CancellationToken)
IBasicRepository<ApiScope>.DeleteAsync(ApiScope, bool, CancellationToken)
IBasicRepository<ApiScope>.DeleteManyAsync(IEnumerable<ApiScope>, bool, CancellationToken)
IReadOnlyBasicRepository<ApiScope, Guid>.GetAsync(Guid, bool, CancellationToken)
IReadOnlyBasicRepository<ApiScope, Guid>.FindAsync(Guid, bool, CancellationToken)
IReadOnlyBasicRepository<ApiScope>.GetListAsync(bool, CancellationToken)
IReadOnlyBasicRepository<ApiScope>.GetCountAsync(CancellationToken)
IReadOnlyBasicRepository<ApiScope>.GetPagedListAsync(int, int, string, bool, CancellationToken)
IRepository.IsChangeTrackingEnabled
Namespace: Volo.Abp.IdentityServer.ApiScopes
Assembly: Volo.Abp.IdentityServer.Domain.dll
Syntax
public interface IApiScopeRepository : IBasicRepository<ApiScope, Guid>, IBasicRepository<ApiScope>, IReadOnlyBasicRepository<ApiScope, Guid>, IReadOnlyBasicRepository<ApiScope>, 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<ApiScope> FindByNameAsync(string scopeName, bool includeDetails = true, CancellationToken cancellationToken = default)
Parameters
Type Name Description
string scopeName
bool includeDetails
CancellationToken cancellationToken
Returns
Type Description
Task<ApiScope>

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<ApiScope>> 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<ApiScope>>

GetListByNameAsync(string[], bool, CancellationToken)

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

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