public EventStore(IOptions <DomainDbConfiguration> settings, IEventDocumentFactory eventDocumentFactory, IVersionService versionService) { _dbContext = new DomainDbContext(settings); _eventDocumentFactory = eventDocumentFactory; _versionService = versionService; }
public CommandStore(IOptions <DomainDbConfiguration> settings, IAggregateDocumentFactory aggregateDocumentFactory, ICommandDocumentFactory commandDocumentFactory) { _dbContext = new DomainDbContext(settings); _aggregateDocumentFactory = aggregateDocumentFactory; _commandDocumentFactory = commandDocumentFactory; }
public AggregateStore(IOptions <DomainDbConfiguration> settings, IAggregateDocumentFactory aggregateDocumentFactory) { _dbContext = new DomainDbContext(settings); _aggregateDocumentFactory = aggregateDocumentFactory; }