![]() |
CQRS.NET
2.2
A lightweight enterprise framework to write CQRS, event-sourced and micro-service applications in hybrid multi-datacentre, on-premise and Azure environments.
|
Provides basic repository methods for operations with instances of IAggregateRoot<TAuthenticationToken>. More...
Public Member Functions | |
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... | |
Provides basic repository methods for operations with instances of IAggregateRoot<TAuthenticationToken>.
TAuthenticationToken | The Type of authentication token. |