コード例 #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
ファイル: AggregateStore.cs プロジェクト: vietdq5/OpenCQRS
 public AggregateStore(IDomainDbContextFactory dbContextFactory, IAggregateEntityFactory aggregateEntityFactory)
 {
     _dbContextFactory       = dbContextFactory;
     _aggregateEntityFactory = aggregateEntityFactory;
 }