public GeneralLedgerEventStoreRepository(EventStoreClient eventStore, IMessageTypeMapper messageTypeMapper, UnitOfWork unitOfWork) { _eventStore = eventStore; _messageTypeMapper = messageTypeMapper; _unitOfWork = unitOfWork; _inner = new EventStoreRepository <GeneralLedger>(eventStore, unitOfWork, GeneralLedger.Factory, messageTypeMapper); }
public ChartOfAccountsEventStoreRepository(EventStoreClient eventStore, IMessageTypeMapper messageTypeMapper, UnitOfWork unitOfWork) { _inner = new EventStoreRepository <ChartOfAccounts>(eventStore, unitOfWork, ChartOfAccounts.Factory, messageTypeMapper); }
public GeneralLedgerEntryEventStoreRepository(EventStoreClient eventStore, IMessageTypeMapper messageTypeMapper, UnitOfWork unitOfWork) { _inner = new EventStoreRepository <GeneralLedgerEntry>(eventStore, unitOfWork, GeneralLedgerEntry.Factory, messageTypeMapper); }