Пример #1
0
 public CommandStore(IDomainDbContextFactory dbContextFactory,
                     IAggregateEntityFactory aggregateEntityFactory,
                     ICommandEntityFactory commandEntityFactory)
 {
     _dbContextFactory       = dbContextFactory;
     _aggregateEntityFactory = aggregateEntityFactory;
     _commandEntityFactory   = commandEntityFactory;
 }
Пример #2
0
 public EventStore(IDomainDbContextFactory dbContextFactory,
                   IAggregateEntityFactory aggregateEntityFactory,
                   IEventEntityFactory eventEntityFactory)
 {
     _dbContextFactory       = dbContextFactory;
     _aggregateEntityFactory = aggregateEntityFactory;
     _eventEntityFactory     = eventEntityFactory;
 }
Пример #3
0
 public EventStore(IDomainDbContextFactory dbContextFactory,
                   IAggregateEntityFactory aggregateEntityFactory,
                   IEventEntityFactory eventEntityFactory,
                   IVersionService versionService)
 {
     _dbContextFactory       = dbContextFactory;
     _aggregateEntityFactory = aggregateEntityFactory;
     _eventEntityFactory     = eventEntityFactory;
     _versionService         = versionService;
 }
Пример #4
0
 public StoreProvider(IDomainDbContextFactory dbContextFactory,
                      IAggregateEntityFactory aggregateEntityFactory,
                      ICommandEntityFactory commandEntityFactory,
                      IEventEntityFactory eventEntityFactory,
                      IVersionService versionService)
 {
     _dbContextFactory       = dbContextFactory;
     _aggregateEntityFactory = aggregateEntityFactory;
     _commandEntityFactory   = commandEntityFactory;
     _eventEntityFactory     = eventEntityFactory;
     _versionService         = versionService;
 }
Пример #5
0
 public AggregateStore(IDomainDbContextFactory dbContextFactory, IAggregateEntityFactory aggregateEntityFactory)
 {
     _dbContextFactory       = dbContextFactory;
     _aggregateEntityFactory = aggregateEntityFactory;
 }