Method | Description | |
---|---|---|
GetAllEvents ( System.Guid id ) : IEnumerable |
Get all event for a specific event provider.
|
|
GetAllEventsSinceVersion ( System.Guid id, long version ) : IEnumerable |
Get all events provided by an specified event source.
|
|
GetAllIdsForType ( |
||
GetSnapshot ( System.Guid eventSourceId ) : ISnapshot |
Gets a snapshot of a particular event source, if one exists. Otherwise, returns
|
|
GetTableCreationQueries ( ) : IEnumerable |
Gets the table creation queries that can be used to create the tables that are needed for a database that is used as an event store. This returns the content of the TableCreationScript.sql that is embedded as resource. |
|
MsSqlServerEventStore ( String connectionString ) : System | ||
MsSqlServerEventStore ( String connectionString, IPropertyBagConverter converter = null ) : System | ||
RemoveUnusedProviders ( ) : void | ||
Save ( IEventSource eventSource ) : void |
Saves all events from an event provider.
|
|
SaveShapshot ( ISnapshot snapshot ) : void |
Saves a snapshot of the specified event source.
|
Method | Description | |
---|---|---|
AddEventSource ( IEventSource eventSource, |
Adds the event source to the event store.
|
|
GetVersion ( System.Guid providerId, |
Gets the version of the provider from the event store.
|
|
SaveEvent ( ISourcedEvent evnt, |
Saves the event to the data store.
|
|
SaveEvents ( IEnumerable |
Saves the events to the event store.
|
|
ToBinary ( object obj ) : byte[] | ||
UpdateEventSourceVersion ( IEventSource eventSource, |
public GetAllEvents ( System.Guid id ) : IEnumerable |
||
id | System.Guid | The id of the event provider. |
return | IEnumerable |
public GetAllEventsSinceVersion ( System.Guid id, long version ) : IEnumerable |
||
id | System.Guid | |
version | long | |
return | IEnumerable |
public GetAllIdsForType ( |
||
eventProviderType | ||
return | IEnumerable |
public GetSnapshot ( System.Guid eventSourceId ) : ISnapshot | ||
eventSourceId | System.Guid | |
return | ISnapshot |
public static GetTableCreationQueries ( ) : IEnumerable |
||
return | IEnumerable |
public MsSqlServerEventStore ( String connectionString ) : System | ||
connectionString | String | |
return | System |
public MsSqlServerEventStore ( String connectionString, IPropertyBagConverter converter = null ) : System | ||
connectionString | String | |
converter | IPropertyBagConverter | |
return | System |
public Save ( IEventSource eventSource ) : void | ||
eventSource | IEventSource | |
return | void |
public SaveShapshot ( ISnapshot snapshot ) : void | ||
snapshot | ISnapshot | |
return | void |