public SagaLogRepository(SagaDbContext dbContext)
 {
     _dbContext = dbContext ?? throw new ArgumentNullException(nameof(dbContext));
 }
示例#2
0
 public SagaUnitOfWork(SagaDbContext dbContext, ISagaLogRepository _sagaLogRepository, ISagaStateDBRepository _sagaStateDBRepository)
 {
     DbContext             = dbContext;
     SagaLogRepository     = _sagaLogRepository;
     SagaStateDBRepository = _sagaStateDBRepository;
 }