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.
|
Public Member Functions | |
EventStore (IEventBuilder< TAuthenticationToken > eventBuilder, IEventDeserialiser< TAuthenticationToken > eventDeserialiser, IEventStoreConnectionHelper eventStoreConnectionHelper) | |
void | Save< T > (IEvent< TAuthenticationToken > @event) |
void | Save (Type aggregateRootType, IEvent< TAuthenticationToken > @event) |
IEnumerable< IEvent< TAuthenticationToken > > | Get< T > (Guid aggregateId, bool useLastEventOnly=false, int fromVersion=-1) |
IEnumerable< IEvent< TAuthenticationToken > > | Get (Type aggregateType, Guid aggregateId, bool useLastEventOnly=false, int fromVersion=-1) |
IEnumerable< Events.EventData > | Get (Guid correlationId) |
Protected Member Functions | |
virtual void | ListenForNotificationsOnConnection (IEventStoreConnection connection) |
Protected Attributes | |
const string | CqrsEventStoreStreamNamePattern = "{0}/{1}" |
Properties | |
IEventBuilder< TAuthenticationToken > | EventBuilder [get, set] |
IEventDeserialiser< TAuthenticationToken > | EventDeserialiser [get, set] |
IEventStoreConnection | EventStoreConnection [get, set] |