Class EfCoreBackgroundJobRepository
Inheritance
System.Object
EfCoreBackgroundJobRepository
Implements
IAsyncEnumerable<BackgroundJobRecord>
Inherited Members
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.BackgroundJobs.EntityFrameworkCore.IBackgroundJobsDbContext, Volo.Abp.BackgroundJobs.BackgroundJobRecord>.FindAsync(Expression<>, System.Boolean, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.BackgroundJobs.EntityFrameworkCore.IBackgroundJobsDbContext, Volo.Abp.BackgroundJobs.BackgroundJobRecord>.DeleteAsync(Expression<>, System.Boolean, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.BackgroundJobs.EntityFrameworkCore.IBackgroundJobsDbContext, Volo.Abp.BackgroundJobs.BackgroundJobRecord>.EnsureCollectionLoadedAsync<TProperty>(Volo.Abp.BackgroundJobs.BackgroundJobRecord, Expression<>, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.BackgroundJobs.EntityFrameworkCore.IBackgroundJobsDbContext, Volo.Abp.BackgroundJobs.BackgroundJobRecord>.EnsurePropertyLoadedAsync<TProperty>(Volo.Abp.BackgroundJobs.BackgroundJobRecord, Expression<>, CancellationToken)
Volo.Abp.Domain.Repositories.EntityFrameworkCore.EfCoreRepository<Volo.Abp.BackgroundJobs.EntityFrameworkCore.IBackgroundJobsDbContext, Volo.Abp.BackgroundJobs.BackgroundJobRecord>.WithDetails(Expression<>[])
Namespace: Volo.Abp.BackgroundJobs.EntityFrameworkCore
Assembly: Volo.Abp.BackgroundJobs.EntityFrameworkCore.dll
Syntax
public class EfCoreBackgroundJobRepository : EfCoreRepository<IBackgroundJobsDbContext, BackgroundJobRecord, Guid>, IAsyncEnumerable<BackgroundJobRecord>, IEfCoreRepository<BackgroundJobRecord, Guid>, IEfCoreRepository<BackgroundJobRecord>, IRepository<BackgroundJobRecord>, IRepository<BackgroundJobRecord, Guid>, ISupportsExplicitLoading<BackgroundJobRecord, Guid>, IBackgroundJobRepository, IBasicRepository<BackgroundJobRecord, Guid>
Constructors
EfCoreBackgroundJobRepository(IDbContextProvider<IBackgroundJobsDbContext>, IClock)
Declaration
public EfCoreBackgroundJobRepository(IDbContextProvider<IBackgroundJobsDbContext> dbContextProvider, IClock clock)
Parameters
Type | Name | Description |
---|---|---|
IDbContextProvider<IBackgroundJobsDbContext> | dbContextProvider | |
IClock | clock |
Properties
Clock
Declaration
protected IClock Clock { get; }
Property Value
Type | Description |
---|---|
IClock |
Methods
GetWaitingListAsync(Int32)
Declaration
public virtual Task<List<BackgroundJobRecord>> GetWaitingListAsync(int maxResultCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maxResultCount |
Returns
Type | Description |
---|---|
Task<List<BackgroundJobRecord>> |
GetWaitingListQuery(Int32)
Declaration
protected virtual IQueryable<BackgroundJobRecord> GetWaitingListQuery(int maxResultCount)
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | maxResultCount |
Returns
Type | Description |
---|---|
IQueryable<BackgroundJobRecord> |
Implements
IAsyncEnumerable<>