Exemple #1
0
        public FileSystemEventStore(string eventsFolder = null)
        {
            _typeCache = new EventTypeCache();

            _folderPath = eventsFolder != null
                ? Path.Combine(eventsFolder)
                : Path.Combine(Directory.GetCurrentDirectory(), "_events");
        }
Exemple #2
0
 public PostgresqlEventStore(string connectionString)
 {
     _connectionString = connectionString;
     _eventTypeCache   = new EventTypeCache();
 }
Exemple #3
0
 public SqlServerEventStore(string connectionString)
 {
     _connectionString = connectionString;
     _eventTypeCache   = new EventTypeCache();
 }