![]() |
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.
|
A AggregateRepository<TAuthenticationToken> that is safe to use within Akka.NET More...
Public Member Functions | |
void | LoadAggregateHistory< TAggregateRoot > (TAggregateRoot aggregate, IList< IEvent< TAuthenticationToken >> events=null, bool throwExceptionOnNoEvents=true) |
If events is null, loads the events from IEventStore<TAuthenticationToken>, checks for duplicates and then rehydrates the aggregate with the events. More... | |
![]() | |
void | Save< TAggregateRoot > (TAggregateRoot aggregate, int? expectedVersion=null) |
Save and persist the provided aggregate , optionally providing the version number the IAggregateRoot<TAuthenticationToken> is expected to be at. More... | |
TAggregateRoot | Get< TAggregateRoot > (Guid aggregateId, IList< IEvent< TAuthenticationToken >> events=null) |
Retrieves an IAggregateRoot<TAuthenticationToken> of type TAggregateRoot . More... | |
TAggregateRoot | GetToVersion< TAggregateRoot > (Guid aggregateId, int version, IList< IEvent< TAuthenticationToken >> events=null) |
Retrieves an IAggregateRoot<TAuthenticationToken> of type TAggregateRoot up to and including the provided version . More... | |
TAggregateRoot | GetToDate< TAggregateRoot > (Guid aggregateId, DateTime versionedDate, IList< IEvent< TAuthenticationToken >> events=null) |
Retrieves an IAggregateRoot<TAuthenticationToken> of type TAggregateRoot up to and including the provided versionedDate . More... | |
A AggregateRepository<TAuthenticationToken> that is safe to use within Akka.NET
TAuthenticationToken | The Type of authentication token. |