Example #1
0
 internal UnitOfWork(IBoltOnLoggerFactory loggerFactory, UnitOfWorkOptions unitOfWorkOptions)
 {
     _logger            = loggerFactory.Create <UnitOfWork>();
     _unitOfWorkOptions = unitOfWorkOptions;
     Start();
 }
Example #2
0
 public UnitOfWorkFactory(IBoltOnLoggerFactory boltOnLoggerFactory)
 {
     _boltOnLoggerFactory = boltOnLoggerFactory;
     _uowFactory          = _boltOnLoggerFactory.Create <UnitOfWorkFactory>();
 }