Event Store


Event Store is a type of persistence that is used to store events. The Crystal Sharp framework offers integration with “EventStoreDB” which is specially designed for events, and also provides support for using databases as event stores. The Crystal Sharp framework supports the following event stores:

EventStoreDB Specially designed for events by EventStore.
Microsoft SQL Server To use Microsoft SQL Server as an event store.
PostgreSQL To use PostgreSQL as an event store.
MySQL To use MySQL as an event store.
MongoDB To use MongoDB as an event store.

Following are the NuGet packages for each event store:

NuGet Package Event Store/Database
CrystalSharp.EventStores.EventStoreDb EventStoreDB
CrystalSharp.MsSql Microsoft SQL Server
CrystalSharp.PostgreSql PostgreSQL
CrystalSharp.MySql MySQL
CrystalSharp.MongoDb MongoDB