How to open database connection in a BackgroundJob in ABP application
问题 Issue For testing, I create a new job, it just use IRepository to read data from database. The code as below: public class TestJob : BackgroundJob<string>, ITransientDependency { private readonly IRepository<Product, long> _productRepository; private readonly IUnitOfWorkManager _unitOfWorkManager; public TestJob(IRepository<Product, long> productRepository, IUnitOfWorkManager unitOfWorkManager) { _productRepository = productRepository; _unitOfWorkManager = unitOfWorkManager; } public override