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.
Cqrs.Domain.ISagaRepository< TAuthenticationToken > Interface Template Reference

Provides basic repository methods for operations with instances of ISaga<TAuthenticationToken>. More...

+ Inheritance diagram for Cqrs.Domain.ISagaRepository< TAuthenticationToken >:

Public Member Functions

void Save< TSaga > (TSaga saga, int? expectedVersion=null)
 Save and persist the provided saga , optionally providing the version number the ISaga<TAuthenticationToken> is expected to be at. More...
 
TSaga Get< TSaga > (Guid sagaId, IList< ISagaEvent< TAuthenticationToken >> events=null)
 Retrieves an ISaga<TAuthenticationToken> of type TSaga . More...
 

Detailed Description

Provides basic repository methods for operations with instances of ISaga<TAuthenticationToken>.

Template Parameters
TAuthenticationTokenThe Type of authentication token.