Show / Hide Table of Contents

Class ApiScopeRepository

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

Constructors

ApiScopeRepository(IDbContextProvider<IIdentityServerDbContext>)

Declaration
public ApiScopeRepository(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>

DeleteAsync(Guid, bool, CancellationToken)

Declaration
public override Task DeleteAsync(Guid id, bool autoSave = false, CancellationToken cancellationToken = default)
Parameters
Type Name Description
Guid id
bool autoSave
CancellationToken cancellationToken
Returns
Type Description
Task
Overrides
EfCoreRepository<IIdentityServerDbContext, ApiScope, Guid>.DeleteAsync(Guid, bool, CancellationToken)

FindByNameAsync(string, bool, CancellationToken)

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

WithDetails()

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

WithDetailsAsync()

Declaration
public override Task<IQueryable<ApiScope>> WithDetailsAsync()
Returns
Type Description
Task<IQueryable<ApiScope>>
Overrides
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.IdentityServer.EntityFrameworkCore.IIdentityServerDbContext, Volo.Abp.IdentityServer.ApiScopes.ApiScope>.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>
IApiScopeRepository
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