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.

◆ GetToDate< TAggregateRoot >()

virtual TAggregateRoot Cqrs.Domain.UnitOfWork< TAuthenticationToken >.GetToDate< TAggregateRoot > ( Guid  id,
DateTime  versionedDate 
)
virtual

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

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

Implements Cqrs.Domain.IUnitOfWork< TAuthenticationToken >.

Type Constraints
TAggregateRoot :IAggregateRoot<TAuthenticationToken>