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.

◆ Save< TSaga >()

void Cqrs.Domain.ISagaRepository< TAuthenticationToken >.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.

Template Parameters
TSagaThe Type of the ISaga<TAuthenticationToken>.
Parameters
sagaThe ISaga<TAuthenticationToken> to save and persist.
expectedVersionThe version number the ISaga<TAuthenticationToken> is expected to be at.

Implemented in Cqrs.Domain.SagaRepository< TAuthenticationToken >.

Type Constraints
TSaga :ISaga<TAuthenticationToken>