コード例 #1
0
 public UnitOfWorkManager(
     IServiceProvider serviceProvider,
     IAmbientUnitOfWork ambientUnitOfWork)
 {
     _serviceProvider   = serviceProvider;
     _ambientUnitOfWork = ambientUnitOfWork;
 }
コード例 #2
0
ファイル: UnitOfWorkManager.cs プロジェクト: AiwinsFx/Rocket
 public UnitOfWorkManager(
     IAmbientUnitOfWork ambientUnitOfWork,
     IHybridServiceScopeFactory serviceScopeFactory)
 {
     _ambientUnitOfWork   = ambientUnitOfWork;
     _serviceScopeFactory = serviceScopeFactory;
 }
コード例 #3
0
 /// <inheritdoc />
 public UnitOfWorkManager(
     UnitOfWorkOptions uowOptions,
     IServiceProvider serviceProvider,
     IAmbientUnitOfWork ambientUnitOfWork)
 {
     _defaultUowOptions = uowOptions;
     _serviceProvider   = serviceProvider;
     _ambientUnitOfWork = ambientUnitOfWork;
 }