![]() |
CQRS.NET
4.0
A lightweight enterprise Function as a Service (FaaS) framework to write function based serverless and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
|
Provides a basic container to control when events are store in an IEventStore<TAuthenticationToken> and then published on an IEventPublisher<TAuthenticationToken>. More...
Inheritance diagram for Cqrs.Domain.SagaUnitOfWork< TAuthenticationToken >:Public Member Functions | |
| SagaUnitOfWork (ISagaRepository< TAuthenticationToken > repository) | |
| Instantiates a new instance of SagaUnitOfWork<TAuthenticationToken> More... | |
| void | Add< TSaga > (TSaga saga) |
| Add an item into the IUnitOfWork<TAuthenticationToken> ready to be committed. More... | |
| TSaga | Get< TSaga > (Guid id, int? expectedVersion=null) |
| Get an item from the IUnitOfWork<TAuthenticationToken> if it has already been loaded or get it from the ISagaRepository<TAuthenticationToken>. More... | |
| void | Commit () |
| Commit any changed Saga<TAuthenticationToken> added to this IUnitOfWork<TAuthenticationToken> via Add<T> into the ISagaRepository<TAuthenticationToken> More... | |
Provides a basic container to control when events are store in an IEventStore<TAuthenticationToken> and then published on an IEventPublisher<TAuthenticationToken>.
This shouldn't normally be used as a singleton.