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.

◆ GetToVersion< TAggregateRoot >()

TAggregateRoot Cqrs.Domain.IUnitOfWork< TAuthenticationToken >.GetToVersion< TAggregateRoot > ( Guid  id,
int  version 
)

Get an item from the IUnitOfWork<TAuthenticationToken> up to and including the provided version .

Template Parameters
TAggregateRootThe Type of the IAggregateRoot<TAuthenticationToken> the IEvent<TAuthenticationToken> was raised in.
Parameters
idThe IAggregateRoot<TAuthenticationToken>.Id of the IAggregateRoot<TAuthenticationToken>.
versionLoad events up-to and including from this version

Implemented in Cqrs.Domain.UnitOfWork< TAuthenticationToken >.

Type Constraints
TAggregateRoot :IAggregateRoot<TAuthenticationToken>