Class IdentityResourceRepository
Inheritance
System.Object
IdentityResourceRepository
Implements
IAsyncEnumerable<IdentityResource>
Inherited Members
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.IdentityServer.EntityFrameworkCore.IIdentityServerDbContext, Volo.Abp.IdentityServer.IdentityResources.IdentityResource>.FindAsync(Expression<>, System.Boolean, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.IdentityServer.EntityFrameworkCore.IIdentityServerDbContext, Volo.Abp.IdentityServer.IdentityResources.IdentityResource>.DeleteAsync(Expression<>, System.Boolean, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.IdentityServer.EntityFrameworkCore.IIdentityServerDbContext, Volo.Abp.IdentityServer.IdentityResources.IdentityResource>.EnsureCollectionLoadedAsync<TProperty>(Volo.Abp.IdentityServer.IdentityResources.IdentityResource, Expression<>, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.IdentityServer.EntityFrameworkCore.IIdentityServerDbContext, Volo.Abp.IdentityServer.IdentityResources.IdentityResource>.EnsurePropertyLoadedAsync<TProperty>(Volo.Abp.IdentityServer.IdentityResources.IdentityResource, Expression<>, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.IdentityServer.EntityFrameworkCore.IIdentityServerDbContext, Volo.Abp.IdentityServer.IdentityResources.IdentityResource>.WithDetails(Expression<>[])
Namespace: Volo.Abp.IdentityServer.IdentityResources
Assembly: Volo.Abp.IdentityServer.EntityFrameworkCore.dll
Syntax
public class IdentityResourceRepository : EfCoreRepository<IIdentityServerDbContext, IdentityResource, Guid>, IAsyncEnumerable<IdentityResource>, IEfCoreRepository<IdentityResource, Guid>, IEfCoreRepository<IdentityResource>, IRepository<IdentityResource>, IRepository<IdentityResource, Guid>, ISupportsExplicitLoading<IdentityResource, Guid>, IIdentityResourceRepository, IBasicRepository<IdentityResource, Guid>
Constructors
IdentityResourceRepository(IDbContextProvider<IIdentityServerDbContext>)
Declaration
public IdentityResourceRepository(IDbContextProvider<IIdentityServerDbContext> dbContextProvider)
Parameters
Type | Name | Description |
---|---|---|
IDbContextProvider<IIdentityServerDbContext> | dbContextProvider |
Methods
CheckNameExistAsync(String, Nullable<Guid>, CancellationToken)
Declaration
public virtual Task<bool> CheckNameExistAsync(string name, Guid? expectedId = default(Guid? ), CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Nullable<System.Guid> | expectedId | |
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Boolean> |
FindByNameAsync(String, Boolean, CancellationToken)
Declaration
public virtual Task<IdentityResource> FindByNameAsync(string name, bool includeDetails = true, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System.String | name | |
System.Boolean | includeDetails | |
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<IdentityResource> |
GetListAsync(String, Int32, Int32, String, Boolean, CancellationToken)
Declaration
public virtual Task<List<IdentityResource>> GetListAsync(string sorting, int skipCount, int maxResultCount, string filter, bool includeDetails = false, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System.String | sorting | |
System.Int32 | skipCount | |
System.Int32 | maxResultCount | |
System.String | filter | |
System.Boolean | includeDetails | |
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.List<IdentityResource>> |
GetListByScopesAsync(String[], Boolean, CancellationToken)
Declaration
public virtual Task<List<IdentityResource>> GetListByScopesAsync(string[] scopeNames, bool includeDetails = false, CancellationToken cancellationToken = default(CancellationToken))
Parameters
Type | Name | Description |
---|---|---|
System.String[] | scopeNames | |
System.Boolean | includeDetails | |
System.Threading.CancellationToken | cancellationToken |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task<System.Collections.Generic.List<IdentityResource>> |
WithDetails()
Declaration
public override IQueryable<IdentityResource> WithDetails()
Returns
Type | Description |
---|---|
System.Linq.IQueryable<IdentityResource> |
Overrides
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.IdentityServer.EntityFrameworkCore.IIdentityServerDbContext, Volo.Abp.IdentityServer.IdentityResources.IdentityResource>.WithDetails()
Implements
IAsyncEnumerable<>
IBasicRepository<, >