CQRS.NET  2.1
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.

◆ Get< TSaga >()

TSaga Cqrs.Domain.SagaUnitOfWork< TAuthenticationToken >.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 IRepository<TAuthenticationToken>.

Implements Cqrs.Domain.ISagaUnitOfWork< TAuthenticationToken >.

Type Constraints
TSaga :ISaga<TAuthenticationToken>