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< TAggregateRoot >()

TAggregateRoot Cqrs.Domain.UnitOfWork< TAuthenticationToken >.Get< TAggregateRoot > ( 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.IUnitOfWork< TAuthenticationToken >.

Type Constraints
TAggregateRoot :IAggregateRoot<TAuthenticationToken>