public UnitOfWorkManager(
     IServiceProvider serviceProvider,
     IAmbientUnitOfWork ambientUnitOfWork)
 {
     _serviceProvider   = serviceProvider;
     _ambientUnitOfWork = ambientUnitOfWork;
 }
Example #2
0
 public UnitOfWorkManager(
     IAmbientUnitOfWork ambientUnitOfWork,
     IHybridServiceScopeFactory serviceScopeFactory)
 {
     _ambientUnitOfWork   = ambientUnitOfWork;
     _serviceScopeFactory = serviceScopeFactory;
 }
 /// <inheritdoc />
 public UnitOfWorkManager(
     UnitOfWorkOptions uowOptions,
     IServiceProvider serviceProvider,
     IAmbientUnitOfWork ambientUnitOfWork)
 {
     _defaultUowOptions = uowOptions;
     _serviceProvider   = serviceProvider;
     _ambientUnitOfWork = ambientUnitOfWork;
 }