Esempio n. 1
0
 public CommandStore(IDomainDbContextFactory dbContextFactory,
                     IAggregateEntityFactory aggregateEntityFactory,
                     ICommandEntityFactory commandEntityFactory)
 {
     _dbContextFactory       = dbContextFactory;
     _aggregateEntityFactory = aggregateEntityFactory;
     _commandEntityFactory   = commandEntityFactory;
 }
Esempio n. 2
0
 public DomainStore(IDomainDbContextFactory dbContextFactory,
                    IAggregateEntityFactory aggregateEntityFactory,
                    ICommandEntityFactory commandEntityFactory,
                    IEventEntityFactory eventEntityFactory,
                    IVersionService versionService)
 {
     _dbContextFactory       = dbContextFactory;
     _aggregateEntityFactory = aggregateEntityFactory;
     _commandEntityFactory   = commandEntityFactory;
     _eventEntityFactory     = eventEntityFactory;
     _versionService         = versionService;
 }