public ProjectAggregateUnitOfWork( ProjectAggregateCommandContext dbContext, IMutatableRepository <ProjectAggregate> projectAggregates) { ProjectAggregates = projectAggregates; _dbContext = dbContext; }
public ProductUnitOfWork( ProductCommandContext commandContext, IMutatableRepository <Product> products, IMutatableRepository <Deal> deals, IReadableRepository <Product> readProducts) { _commandContext = commandContext; Products = products; Deals = deals; ReadProducts = readProducts; }
public DataUnitOfWork( CommandDbContext commandDbContext, IMutatableRepository <User> users, IMutatableRepository <Token> tokens, IMutatableRepository <Room> rooms, IMutatableRepository <Message> messages) { _commandDbContext = commandDbContext; Users = users; Tokens = tokens; Rooms = rooms; Messages = messages; }
public TestCommandHandler(IMutatableRepository <ProjectAggregate> projectAggregate) { _projectAggregate = projectAggregate; }