Exemplo n.º 1
0
 public ResourceRepository(ConceptContext context) : base(context)
 {
 }
Exemplo n.º 2
0
 public EFUnitOfWork(string connectionString)
 {
     db = new ConceptContext(connectionString);
 }
 private Task ProcessEventAsync <TEvent>(TEvent @event, ConceptContext context) where TEvent : EventBase => _eventProcessor.ProcessAsync(@event);
Exemplo n.º 4
0
 private Task ProcessCommandAsync <TCommand>(TCommand command, ConceptContext context) where TCommand : CommandBase => _processer.ProcessAsync(command);
Exemplo n.º 5
0
 public BaseRepository(ConceptContext context)
 {
     this.db = context;
 }
 private async Task HandlePerformFoo(PerformFoo message, ConceptContext context)
 {
     // handle message
     await PublishAsync(new FooPerformed { Success = true });
 }
Exemplo n.º 7
0
 public ConceptRepository(ConceptContext conceptContext, IEventPublisher eventPublisher)
     : base(conceptContext, eventPublisher)
 {
 }
Exemplo n.º 8
0
 public CostRepository(ConceptContext context) : base(context)
 {
 }