コード例 #1
0
 public GeneralLedgerEventStoreRepository(EventStoreClient eventStore, IMessageTypeMapper messageTypeMapper,
                                          UnitOfWork unitOfWork)
 {
     _eventStore        = eventStore;
     _messageTypeMapper = messageTypeMapper;
     _unitOfWork        = unitOfWork;
     _inner             = new EventStoreRepository <GeneralLedger>(eventStore, unitOfWork, GeneralLedger.Factory, messageTypeMapper);
 }
コード例 #2
0
 public ChartOfAccountsEventStoreRepository(EventStoreClient eventStore,
                                            IMessageTypeMapper messageTypeMapper, UnitOfWork unitOfWork)
 {
     _inner = new EventStoreRepository <ChartOfAccounts>(eventStore, unitOfWork,
                                                         ChartOfAccounts.Factory, messageTypeMapper);
 }
コード例 #3
0
 public GeneralLedgerEntryEventStoreRepository(EventStoreClient eventStore,
                                               IMessageTypeMapper messageTypeMapper, UnitOfWork unitOfWork)
 {
     _inner = new EventStoreRepository <GeneralLedgerEntry>(eventStore, unitOfWork,
                                                            GeneralLedgerEntry.Factory, messageTypeMapper);
 }